PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#Code for a Simple Vending Machine
#Clasic Lays = 0
#Coke = 1
# Cold Coffee = 2
#Pepsi = 3
#Vannila Ice Cream = 4
#Popcorn = 5
#Milk = 6
#Cup Noodles = 7
#Pizza Slice = 8
#Chicked Fried Rice = 9
#Fried Chicken = 10
#Lottery Ticket = 11
Items = "Clasic Lays" , "Coke" , "Cold Coffee" , "Pepsi" , "Vannila Ice Cream" , "Popcorn" , "Milk" , "Cup Noodles" , "Pizza Slice" , "Chicken Fried Rice" , "Fried Chicken" , "Lottery Ticket"
Your_Order = int(input())
print("Your order is", Items[Your_Order])
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run