4th day of python challenges 69-77

This commit is contained in:
abd.shallal
2019-07-20 16:01:50 +03:00
parent 5e9fbc523c
commit 0734522641
11 changed files with 199 additions and 142 deletions

View File

@@ -0,0 +1,7 @@
foods_list = {}
for i in range(4):
j = i + 1
foods_list[j] = str(input('Enter favourite food : '))
print(foods_list)
del foods_list[int(input('Enter food number to delete it : '))]
print(sorted(foods_list.keys()))