fork download
  1. def dubbelkoppel(s)
  2.  
  3. koppeltekens = ["--"]
  4. woord_zonder_koppeltekens = ''
  5. for koppelteken in s:
  6. if koppelteken.lower() in koppeltekens:
  7. print "True"
  8.  
  9. else
  10. print "False"
  11.  
  12. dubbelkoppel(gala--bal)
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Mozart Compiler 1.4.0 (20080704) playing Oz 3

%%% feeding file prog.oz

%*************************** parse error ************************
%**
%** syntax error, unexpected ':', expecting T_do
%**
%** in file "./prog.oz", line 5, column 21
%** ------------------ rejected (1 error)
stdout
Standard output is empty