migrate to git.charlotte.sh

This commit is contained in:
Charlotte Croce 2025-04-19 23:42:08 -04:00
commit fbd588721e
412 changed files with 13750 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#1. Implement a voting test. The user enters their age and then the program prints either,
# “You must be 18 to vote” or “You are of voting age”.
def voting_test():
age = int(input("age: "))
if age >= 18:
print("You are of voting age")
else:
print("You must be 18 to vote")
voting_test()