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
Advertisements
उत्तर
if x%4==0 : print(x, " is a leap year")
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 ______
While defining a function which of the following symbol is used.
Read the following statement and choose the correct statement.
In Python, you don’t have to mention the specific data types while defining the 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.
Explain the different types of functions with an example.
Explain the following built-in function.
id()
Explain the following built-in function.
round()
Explain the following built-in function.
type()
