It's not running where I'm making mistake and can someone help me to understand properly how to use main function in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

It's not running where I'm making mistake and can someone help me to understand properly how to use main function in python

def main(): print('Hello world!') if __main__ == "__main__": main()

6th May 2020, 5:18 AM
Snehil Tripathi
Snehil Tripathi - avatar
0 Answers