Tamil Nadu Board of Secondary EducationHSC Science Class 12th

Pick the correct one to execute the given statement successfully. if ______ : print(x, " is a leap year") - Computer Science

Advertisement Remove all ads
Advertisement Remove all ads
Advertisement Remove all ads
MCQ
Fill in the Blanks

Pick the correct one to execute the given statement successfully.

if ______ : print(x, " is a leap year")

Options

  • x%2=0

  • x%4==0

  • x/4=0

  • x%4=0

Advertisement Remove all ads

Solution

if x%4==0 : print(x, " is a leap year")

Concept: Introduction to Python Functions
  Is there an error in this question or solution?

APPEARS IN

Tamil Nadu Board Samacheer Kalvi Class 12th Computer Science Answers Guide
Chapter 7 Python functions
Evaluation | Q 9. | Page 112
Share
Notifications

View all notifications


      Forgot password?
View in app×