We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Introduction
- Write a function
- Discussions
Write a function
Write a function
Sort by
recency
|
2730 Discussions
|
Please Login in order to post a comment
def is_leap(year): leap = False
Iaam failing 1 test case for 1992 , what is the problem?
year = int(input())
Here is a less complicated logic:
def is_leap(year): leap = False
There is no function call in this. How does that work?