English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Identify the function call statement in the following snippet. if __name__ =='__main__': main(sys.argv[1:]) - Computer Science

Advertisements
Advertisements

Question

Identify the function call statement in the following snippet.

if __name__ =='__main__':
    main(sys.argv[1:])

Options

  • main(sys.argv[1:])

  • __name__

  • __main__

  • argv

MCQ
Advertisements

Solution

__name__

shaalaa.com
  Is there an error in this question or solution?
Chapter 14: Importing C++ programs in Python - Evaluation [Page 289]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 14 Importing C++ programs in Python
Evaluation | Q 8. | Page 289
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×