Skip to content

Commit 3373440

Browse files
Merge pull request seeditsolution#347 from Shanu899/patch-1
Decision making of car driving
2 parents 8a8b483 + 4284f64 commit 3373440

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎Car driving‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
var1=18
2+
var2=int(input("Enter Your Age: "))
3+
if var2>var1:
4+
print("drive")
5+
elif var2==var1:
6+
print("decide")
7+
8+
else:
9+
print ("do not drive")

0 commit comments

Comments
 (0)