fork download
  1. class Node:
  2. def __init__(self, next=None, data=None):
  3. self.data = data
  4. self.next = next
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:1: error: unknown type name ‘class’
 class Node:
 ^~~~~
prog.c:1:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
 class Node:
           ^
stdout
Standard output is empty