0
Do you need an 'int main()' in python?
3 odpowiedzi
+ 6
Definitely not. That's not even valid python.
It's often a good idea to include a `def main():` block, and a good thing to put at the end of any file is an `if __name__ == "__main__":` block to specify what should be done when the file is run by itself.
+ 2
Ray Libbenga
No ways
It's not valid on python.
It's valid in C programming
0
Oke, thanks