mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
12 lines
208 B
Python
12 lines
208 B
Python
import ink
|
|
|
|
print('Once upon a time...')
|
|
|
|
index, val = ink.choice(
|
|
'There were two choices.',
|
|
'There were four lines of content.'
|
|
)
|
|
|
|
print(f'You selected {index}')
|
|
|
|
print('They lived happily ever after.') |