fork download
  1. class DDLNode:
  2. def __init__(self, next=None, prev=None, data=None):
  3. self.data = data
  4. self.prev = prev
  5. 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 DDLNode:
 ^~~~~
prog.c:1:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘:’ token
 class DDLNode:
              ^
stdout
Standard output is empty