fork download
  1. # your code goes here
  2. test_cases = raw_input()
  3.  
  4. for test_case in test_cases:
  5. words = raw_input()
  6. word_list = []
  7. for word in range(words):
  8. word_list[word] = raw_input()
  9. print(word_list)
  10.  
  11.  
Runtime error #stdin #stdout #stderr 0.12s 23520KB
stdin
2
6
CODE
TRAP
ARCS
CART
ROAD
PART
5
ABCD
EFGH
IJKL
MNOP
QRST
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 2, in <module>
NameError: name 'raw_input' is not defined