first hw batch 15.3.25 at 11:09

This commit is contained in:
Eduard Prigoana 2025-03-15 11:11:42 +02:00
commit 288c7e127a
10 changed files with 73 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# Ask the user for their age
age = int(input("Enter your age: "))
# Check if the user is 18 or older
if age >= 18:
print("You can vote")
else:
print("You cannot vote yet")