fork(2) download
  1. # your code goes here
  2.  
  3. boxes = [
  4. '''
  5. _ _ _ _ _
  6. | |
  7. | |
  8. | 1st |
  9. | box |
  10. | |
  11. |_ _ _ _ _|
  12. ''',
  13. '''
  14. _ _ _ _ _
  15. | |
  16. | |
  17. | 2nd |
  18. | box |
  19. | |
  20. |_ _ _ _ _|
  21. ''',
  22. '''
  23. _ _ _ _ _
  24. | |
  25. | |
  26. | 3rd |
  27. | box |
  28. | |
  29. |_ _ _ _ _|
  30. ''',
  31. # ... .etc
  32. ]
  33.  
  34. lines = [box.splitlines() for box in boxes]
  35. for idx in range(len(lines[0])):
  36. print('%-20.20s %-20.20s %-20.20s' % (lines[0][idx], lines[1][idx], lines[2][idx]))
Success #stdin #stdout 0.02s 9208KB
stdin
Standard input is empty
stdout
                                                              
 _ _ _ _ _            _ _ _ _ _            _ _ _ _ _          
|         |          |         |          |         |         
|         |          |         |          |         |         
|   1st   |          |   2nd   |          |   3rd   |         
|   box   |          |   box   |          |   box   |         
|         |          |         |          |         |         
|_ _ _ _ _|          |_ _ _ _ _|          |_ _ _ _ _|