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
|
2553 Discussions
|
Please Login in order to post a comment
For input 1600, the result should be True or False as we have a constraint as well - 1900<=year<=(10**5) ??
Here is my solution, it works but feels a bit much. Any tips would help, just started coding a few months ago.