fork download
  1. #include <stdio.h>
  2.  
  3. d={'a':1, 'b':2}
  4. print(tuple(d.keys()))
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:3:1: warning: data definition has no type or storage class
 d={'a':1, 'b':2}
 ^
prog.c:3:1: warning: type defaults to ‘int’ in declaration of ‘d’ [-Wimplicit-int]
prog.c:3:7: error: expected ‘}’ before ‘:’ token
 d={'a':1, 'b':2}
       ^
prog.c:4:1: error: expected ‘,’ or ‘;’ before ‘print’
 print(tuple(d.keys()))
 ^~~~~
stdout
Standard output is empty