6.py 223 B

12345678910111213141516
  1. [
  2. 1,2,3
  3. ]
  4. import ink
  5. print('Once upon a time...')
  6. index, val = ink.choice(
  7. 'There were two choices.',
  8. 'There were four lines of content.'
  9. )
  10. print(f'You selected {index}')
  11. print('They lived happily ever after.')