Skip to content

Commit b82a362

Browse files
by this program you can find out that you are eligible or not for the driving.
1 parent 8ca621b commit b82a362

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

simple proj.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
print("what is your age?")
2+
age = int(input())
3+
4+
if age > 18:
5+
print("yes, you are eligible for the driving")
6+
elif age == 18:
7+
print("you can drive")
8+
#elif age < age_limit:
9+
# print("you are not eligible for driving")
10+
else:
11+
print("no, you can't drive")

0 commit comments

Comments
 (0)