Objekt-orientierte Programmierung mit Python ...
Eigene Objekte programmieren: Toaster
Quelle: Hauke Fehr, Let's code Python, 2024.
Post #151: Hauke Fehr, Let's code Python, OOP - Objektorientierte Programmierung, Eigene Objekte programmieren, 2024.
Post #104: LearnPython, Blog, Luke Hande, How to run a Python script in Windows, 2023.
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.
The source code of my exercise ...
The output of my source code ...
Post #9: YouTube, Programmieren-Starten, Python Tutorial, #3/24 Strings, 2023.
https://www.turing.com/kb/22-hottest-python-tricksfor-efficient-coding
Post #130: Turing, 22 hottest Python tricks for efficient coding, 2024.
Post #126: Real Python, Variables in Python, 2024.
Post #18: SoloLearn, Android-App for learning programming and script languages, 2023.
Post #148: FreeCodeCamps, Estefania Cassingena Navone, What Is Programming, A Handbook for Beginners, 2024.
These are built-in functions or a part of the "math" modul.
Post #179: Python.Hub on Instagram, Mathematical built-in functions resp. methods in Python, 2024.
Post #146: AlternativeTo, 27 Kilobyte AB by Ola & Markus, Crowdsourced Software Recommendations, Pydroid 3 And Alternatives, 2024.
Counting how many times you have to roll the dice to catch 8 dice with the same number in a row.
Post #161: Jahtzee², Exercise, Python code snippet, 2025.