first group of challenges
This commit is contained in:
9
challenges12-19/challenge-017.py
Normal file
9
challenges12-19/challenge-017.py
Normal file
@@ -0,0 +1,9 @@
|
||||
age = int(input('Please enter your age : '))
|
||||
if age >= 18:
|
||||
print('You can vote')
|
||||
elif age == 17:
|
||||
print('You can learn to drive')
|
||||
elif age == 16:
|
||||
print('You can buy a lottery ticket')
|
||||
else:
|
||||
print('You can go Trick-or-Treating')
|
Reference in New Issue
Block a user