-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path12march.py
More file actions
34 lines (29 loc) · 919 Bytes
/
12march.py
File metadata and controls
34 lines (29 loc) · 919 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
25
26
27
28
29
30
31
32
33
34
"""
party = {
"Vivek" : "Pizza",
"Ayush" : 23,
"Jay" : ["Soup", "Main Course", "Gulab Jamun"],
"Rishi" : ("Dosa", "Pepsi"),
"Alakh" : {"Dosa", "Pepsi"},
"Dhiraj" : frozenset({"Rotlo", "Gud", "Buttermilk"}),
"Marlin" : {"BF" : "Sandwich", "Lunch" : "Punjabi", "Dinner" : "Pau Bhaji"}
}
name = input("Enter Name:")
print(f"\n{name} : {party[name]}")
name = input("Enter Name:")
name1 = name.capitalize()
print(f"\n{name} : {party[name1]}")
name = input("Enter Name:").capitalize()
i = 0
if name != "Vivek" and name != "Ayush" and name != "Marlin":
for i in party[name]:
print(i)
elif name == "Marlin":
time = input("Enter your Time (BF,Lunch,Dinner):")
print(party[name][time])
else:
print(party[name])
"""
consumers = ["Darshan", "Nishkal", "Vidhi", "Devanshi", "Harsh"]
new = dict.fromkeys(consumers,1000)
print(new)