-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathif if.txt
More file actions
24 lines (21 loc) · 748 Bytes
/
Copy pathif if.txt
File metadata and controls
24 lines (21 loc) · 748 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
drink = input("what do you drink now (coffee or watter or tea)>>")
if drink =="coffee":
chose= input("do you want coffee <<black>> or coffee <<white>> ?: ")
if chose == "black":
print("Nice coffee black")
elif chose =="white":
print("Nice coffee white")
else:
print("SORRY,YOUR REQUEST IS NOT AVAILABLE")
elif drink =="tea":
chose_2 = input("do you want <<red tea>> or <<green tea >> ")
if chose_2 == "red tea":
print("Nice red tea")
elif chose_2 == "green tea" :
print("Nice green tea")
else:
print("SORRY,YOUR REQUEST IS NOT AVAILABLE")
elif drink =="watter":
print("take watter")
else:
print("SORRY,YOUR REQUEST IS NOT AVAILABLE")