| ▲ | stavros 7 hours ago | |||||||
What, `def main():`? Or do you mean the __name__ == "__main__" thing for distinguishing whether the code was imported? | ||||||||
| ▲ | kens 7 hours ago | parent [-] | |||||||
I can successfully type "def main()" and not "function main()", unless I'm switching between JavaScript and Python and forget which language I'm in :-). It's the if statement with all the underscores that I need to check every time. | ||||||||
| ||||||||