repl.it
@dcbriccetti/

inventory

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
avail_items = ('grater', 'camel', 'rock')

choice = input('Choose one of: ' + ', '.join(avail_items) + ' => ')
# Write code to see if the choice is valid 
if choice not in avail_items:
  print('No such item')
Fetching token
?