Advertisement
pacho_the_python

inputs

May 18th, 2022
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import sys
  2. from io import StringIO
  3.  
  4. input1 = """ROB-15;SS2-10;NX8000-3
  5. 8:00:00
  6. detail
  7. glass
  8. wood
  9. apple
  10. End
  11. """
  12. input2 = """ROB-8
  13. 7:59:59
  14. detail
  15. glass
  16. wood
  17. sock
  18. End
  19. """
  20.  
  21. # sys.stdin = StringIO(input1)
  22. sys.stdin = StringIO(input2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement