Q. What is the purpose of __name__ == "__main__" in Python?

पायथन में __name__ == "__main__" का उद्देश्य क्या है?

A
To check if a script is run directly
B
To declare a module
C
To include another module
D
To define a class

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment