Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Menu/11l/menu.11l
Normal file
13
Task/Menu/11l/menu.11l
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
V items = [‘fee fie’, ‘huff and puff’, ‘mirror mirror’, ‘tick tock’]
|
||||
|
||||
L
|
||||
L(item) items
|
||||
print(‘#2. #.’.format(L.index + 1, item))
|
||||
|
||||
V reply = input(‘Which is from the three pigs: ’).trim(‘ ’)
|
||||
I !reply.is_digit()
|
||||
L.continue
|
||||
|
||||
I Int(reply) C 1..items.len
|
||||
print(‘You chose: ’items[Int(reply) - 1])
|
||||
L.break
|
||||
Loading…
Add table
Add a link
Reference in a new issue