-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathml.py
More file actions
24 lines (23 loc) · 747 Bytes
/
Copy pathml.py
File metadata and controls
24 lines (23 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
print("\n*******Think About any Vehicle(2-wheeler,4-wheeler,3-wheeler)*******")
print("\nAnswer in y or n\n")
rep = str(input("\nHave you think:"))
print(rep)
def ml():
if rep == "y":
r = str(input("\nYour vehicle has two Wheels?:"))
if r == "y":
return ("Its 2-Wheeler Vehicle")
else:
res2 = str(input("Your Vehicle has 3-wheel?:"))
if res2 == "y":
return ("Its 3-wheeler Vehicle")
else:
res3 = str(input("Your Vehicle has 4-wheels?:"))
if res3 == "y":
return ("Its 4-Wheelers Vehicle")
else :
ml()
else:
pass
print(ml())
print("Program finished!")