Skip to content

Commit 61caa5a

Browse files
committed
fix: Not working at all sahildua2305#59. add example python return
1 parent 190ed2b commit 61caa5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hackIDE/static/hackIDE/js/custom.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $(document).ready(function(){
3434
langBoilerplate['OBJECTIVEC'] = "#import <objc/objc.h>\n#import <objc/Object.h>\n#import <Foundation/Foundation.h>\n\n@implementation TestObj\nint main()\n{\n // your code goes here\n return 0;\n}\n@end";
3535
langBoilerplate['PERL'] = "#!/usr/bin/perl\n# your code goes here\n";
3636
langBoilerplate['PHP'] = "<?php\n\n// your code goes here\n";
37-
langBoilerplate['PYTHON'] = "def main():\n # Your code goes here\n\nif __name__ == \"__main__\":\n main()";
37+
langBoilerplate['PYTHON'] = "def main():\n # Your code goes here\n return 0\n\nif __name__ == \"__main__\":\n main()";
3838
langBoilerplate['R'] = "# your code goes here";
3939
langBoilerplate['RUBY'] = "# your code goes here";
4040
langBoilerplate['RUST'] = "fn main() {\n // The statements here will be executed when the compiled binary is called\n\n // Print text to the console\n println!(\"Hello World!\");\n}\n";

0 commit comments

Comments
 (0)