English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

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

Advertisements
Advertisements

Question

What is the output of the following snippet?

T=1
while T:
      print(True)
      break

Options

  • False

  • True

  • 0

  • 1

MCQ
Advertisements

Solution

True

shaalaa.com
Control Structure
  Is there an error in this question or solution?
Chapter 6: Control Structures - Evaluation [Page 87]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 6 Control Structures
Evaluation | Q 8. | Page 87
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×