हिंदी

What is the output of the following snippet? T=1 while T: print(True) break

Advertisements

प्रश्न

What is the output of the following snippet?

T=1
while T:
      print(True)
      break

विकल्प

  • False

  • True

  • 0

  • 1

MCQ
Advertisements

उत्तर

True

shaalaa.com
Control Structure
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Control Structures - Evaluation [पृष्ठ ८७]
Advertisements
Share
Notifications



      Forgot password?
Use app×