fork(2) download
  1. class Yoba:
  2. A = [1, 2, 3]
  3. B = [4, 5, 6]
  4.  
  5. C = [a + b for a in A for b in B]
Runtime error #stdin #stdout #stderr 0.02s 8688KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
  File "./prog.py", line 5, in Yoba
  File "./prog.py", line 5, in <listcomp>
NameError: name 'B' is not defined