A Leap Year? - This Is The Question Of The Day ...

A Leap Year? - This Is The Question Of The Day ...

A Leap Year? - This Is The Question Of The Day ...

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

A Leap Year? - This Is The Question Of The Day ...

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.

A Leap Year? - This Is The Question Of The Day ...

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.

A Leap Year? - This Is The Question Of The Day ...

Post #113: Free Programming Exercise, Leap Year, 2024.

More Posts from Python-programming-language and Others

Post #154: Sirt Bhopal, Prof. Yogesh Sahu, Introduction to Python Programming, 2025.

Introduction of Python Programming by Prof .Yogesh Sahu


Tags

Top Programming Books For Beginners ...

Top Programming Books For Beginners ...
Analytics Insight
Here is a curated list of the top 10 Python programming books for beginners available for tech professionals and web lovers.

Post #38: Analytics Insight, Top 10 Python Programming Books For Beginners, 2023.


Tags

Many well-known built-in functions In Python ...

Many Well-known Built-in Functions In Python ...

There are 71 built-in functions in Python 3.11.

Many Well-known Built-in Functions In Python ...

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.


Tags

My 365-Days-Streak On SoloLearn ...

My 365-Days-Streak On SoloLearn ...

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.

My 365-Days-Streak On SoloLearn ...

Post #117: SoloLearn, My 365 Days Streak, 2024.


Tags

Python Tutorial #6 Input ...

The source code of my exercise ...

Python Tutorial #6 Input ...

The output of my source code ...

Python Tutorial #6 Input ...

Post #21: YouTube, Programmieren-Starten, Python Tutorial, #6 Die Input-Funktion, 2023.


Tags

Der Blick über den Tellerrand ...

Julia: Die Programmiersprache im Überblick
entwickler.de
Die Programmiersprache Julia erfreut sich zunehmender Beliebtheit. Warum sie sich besonders für Machine Learning eignet, erfahrt ihr in dies
Der Blick über Den Tellerrand ...

Post #76: Julia, eine Programmiersprache im Überblick, www.entwickler.de, 2023.


Tags

Computer Science and OOP in Python ...

My source code of the exercise ...

Computer Science And OOP In Python ...
Computer Science And OOP In Python ...
Computer Science And OOP In Python ...

The output of my source code ...

Computer Science And OOP In Python ...

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.


Tags

Programmieren lernen mit Michael Kofler ...

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.

Programmieren Lernen Mit Michael Kofler ...

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.


Tags

Python Tutorial #8, Zuweisungsoperator ...

The source code of my exercise ...

Python Tutorial #8, Zuweisungsoperator ...

The output of my source code ...

Python Tutorial #8, Zuweisungsoperator ...

Post #29: YouTube, Programmieren-Starten, #8 Der Zuweisungsoperator und die kombinierten Zuweisungsoperatoren, 2023.


Tags
Loading...
End of content
No more pages to load
  • shellshockedone
    shellshockedone liked this · 1 year ago
  • popthatbeaniebackon
    popthatbeaniebackon liked this · 1 year ago
  • ttosiek
    ttosiek liked this · 1 year ago
  • smak-annihilation
    smak-annihilation liked this · 1 year ago
  • xiabablog
    xiabablog liked this · 1 year ago
  • python-programming-language
    python-programming-language reblogged this · 1 year ago
python-programming-language - Python Programming
Python Programming

Fan, Exploration & Learning Page

173 posts

Explore Tumblr Blog
Search Through Tumblr Tags