fork download
  1. x = []
  2. y = []
  3. z = []
  4. ZZ = []
  5. a = 0
  6. b = 0
  7. c = 0
  8. PP = [[0,0],[0,0],[0,0],[0,0]]
  9. QQ = [[0,0],[0,0],[0,0],[0,0]]
  10. YY = [[0,0],[0,0],[0,0],[0,0]]
  11. ZZ = [[0,0],[0,0],[0,0],[0,0]]
  12. for i in range(4):
  13. for j in range (2):
  14. a = input()
  15. PP[i][j] = a
  16. b = input()
  17. QQ[i][j] = b
  18. YY[i][j] = QQ[i][j] + PP[i][j]
  19. ZZ[i][j] = QQ[i][j] * PP[i][j]
  20. print PP
  21. print QQ
  22. print YY
  23. print ZZ
  24.  
Runtime error #stdin #stdout #stderr 0.05s 63988KB
stdin
10
20
30
40
50
60
7p
80
90
1
3
5
7
9
2
4
6
8
10

stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 14, in <module>
    a = input()
  File "<string>", line 1
    7p
    ^
SyntaxError: invalid syntax