chore: commit files

This commit is contained in:
2025-04-18 23:50:45 +02:00
parent 7bccf78148
commit b3efee4ea0
4 changed files with 141 additions and 0 deletions

19
scripts/sample_script.py Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env python3
# Implement your functions here...
def print_v1_data(*args):
if args[0] == "v1":
string = (f"Called with API version {args[0]}\n"
f"to send to user {args[1]}\n"
f"about {args[2]}\n"
f"who turns {args[3]}\n"
f"in {args[4]} days\n"
f"with birthday being {args[5]}.\n")
print(string)
else:
print("Called with a wrong API version!")
if __name__ == "__main__":
print("This script isn't meant be ran interactively!")