repl.it
@janimanthan80/

ticket box

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
                   #ticket box

a = {"children(6-12)" : "a", "teenage(13-17)" : "b", "young(18-25)" : "c", "adult(26=>)" : "d"}
print(a)

select = input("\nSelect Your Ticket : ")

if select == a["children(6-12)"]:
  print(a("children(6-12)"))