Advertisements
Advertisements
प्रश्न
Pick the correct one to execute the given statement successfully.
if ______ : print(x, " is a leap year")
विकल्प
x%2=0
x%4==0
x/4=0
x%4=0
MCQ
रिक्त स्थान भरें
Advertisements
उत्तर
if x%4==0 : print(x, " is a leap year")
shaalaa.com
Introduction to Python Functions
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
A named block of code that is designed to do one specific job is called ______
A Function which calls itself is called as ______
Which function is called anonymous un-named function?
What is a function?
How to set the limit for recursive function? Give an example.
Write a Python code to check whether a given year is a leap year or not.
What are the points to be noted while defining a function?
Explain the following built-in function.
chr()
Explain the following built-in function.
type()
Explain the following built-in function.
pow()
