This is how you work out whether if a particular year is a leap year.
On every year that is divisible by 4 with no remainder
Except every year that is evenly divisible by 100 with no remainder
Unless the year is also divisible by 400 with no remainder
Source: Angela Yu, Udemy, 2024
Year 2000:
2000 ÷ 4 = 500 (Leap)
2000 ÷ 100 = 20 (Not Leap)
2000 ÷ 400 = 5 (Leap!)
So, year 2000 is a leap year.
Year 2100:
2100 ÷ 4 = 525 (Leap)
2100 ÷ 100 = 21 (Not Leap)
2100 ÷ 400 = 5.25 (Not Leap)
But year 2100 is not a leap year.
Post #113: Free Programming Exercise, Leap Year, 2024.
Post #154: Sirt Bhopal, Prof. Yogesh Sahu, Introduction to Python Programming, 2025.
Introduction of Python Programming by Prof .Yogesh Sahu
Post #38: Analytics Insight, Top 10 Python Programming Books For Beginners, 2023.
There are 71 built-in functions in Python 3.11.
Built-in Functions — Python 3.11.3 documentation
In my opinion these 29 built-in functions are very popular:
abs(), ascii(), bin(), bool(), bytes(), chr(), complex(), dict(), dir(), eval(), float(), help(), hex(), input(), int(), len(), list(), max(), min(), open(), pow(), print(), range(), round(), set(), sorted(), str(), tuple(), type().
Post #46: Built-In Functions In Python, 2023.
I have been learning programming with SoloLearn every day for 1 year or 365 days now: Python, C#, HTML, CSS and JavaScript. For me, SoloLearn is one of the best providers for learning coding on the go using a tablet or smartphone.
Post #117: SoloLearn, My 365 Days Streak, 2024.
The source code of my exercise ...
The output of my source code ...
Post #21: YouTube, Programmieren-Starten, Python Tutorial, #6 Die Input-Funktion, 2023.
Post #76: Julia, eine Programmiersprache im Überblick, www.entwickler.de, 2023.
My source code of the exercise ...
The output of my source code ...
Post 78: MIT - Massachusetts Institute of Technology, Open Course Ware, Dr. Ana Bell, Object Oriented Programming, Introduction to computer science and programming in Python, 2023.
Obwohl die Entwicklung von Python schon 1991 begann, stand die Sprache lange im Schatten anderer Programmiersprachen. So richtig im Mainstream angekommen ist Python erst in den vergangenen Jahren. Dabei gibt es viele Gründe für die Popularität von Python: 1. recht einfache Syntax, 2. gut lesbarer Quelltext, 3. schlanke Programmiersprache, 4. effektives Modulkonzept, 5. eignet sich für Wissenschaft, Forschung und Bildung und 6. bevorzugte Programmiersprache beim Raspberry Pi.
Although development of Python began in 1991, the language has long been overshadowed by other programming languages. Python has only really arrived in the mainstream in recent years. There are many reasons for the popularity of Python: 1. very simple syntax, 2. easily readable source code, 3. lean programming language, 4. effective module concept, 5. suitable for science, research and education and 6. preferred programming language for the Raspberry Pi.
Post #47: Michael Kofler, Python - Der Grundkurs, Rheinwerk Verlag, Bonn, 2. aktualisierte Auflage, 2022.
The source code of my exercise ...
The output of my source code ...
Post #29: YouTube, Programmieren-Starten, #8 Der Zuweisungsoperator und die kombinierten Zuweisungsoperatoren, 2023.
Post#155: Runestone, OpenBookProject.Net, Strings Are Objects, 2025.