fork download
  1. izd=input('1 - 111\n2 - 222\n3 - 333\n0 - выход\n')
  2. while izd=='1':
  3. i=input('new1')
  4. if i=='0':
  5. break
  6. print('111111')
  7. while izd=='2':
  8. i=input('new1')
  9. if i=='0':
  10. break
  11. print('22222')
  12. while izd=='3':
  13. i=input('new1')
  14. if i=='0':
  15. break
  16. print('33333')
Runtime error #stdin #stdout #stderr 0.03s 9984KB
stdin
1
stdout
1 - 111
2 - 222
3 - 333
0 - выход
new1
stderr
Traceback (most recent call last):
  File "./prog.py", line 3, in <module>
EOFError: EOF when reading a line