filmov
tv
Python program to check if a year is leap year or not
![preview_player](https://i.ytimg.com/vi/S4BQbvMrcVs/sddefault.jpg)
Показать описание
For more videos regarding Computer Science, visit this:
👇👇👇
Music Credits:
Music: Achaidh Cheide
Musician: Kevin MacLeod
Program Code:
👇👇👇
year=int(input('enter the year:'))
if (year%4)==0:
if (year%100)==0:
if (year%400)==0:
print(year,'is a leap year')
else:
print(year,'is not a leap year')
else:
print(year,'is a leap year')
else:
print(year,'is not a leap year')
Like, Share and SUBSCRIBE
👇👇👇
Music Credits:
Music: Achaidh Cheide
Musician: Kevin MacLeod
Program Code:
👇👇👇
year=int(input('enter the year:'))
if (year%4)==0:
if (year%100)==0:
if (year%400)==0:
print(year,'is a leap year')
else:
print(year,'is not a leap year')
else:
print(year,'is a leap year')
else:
print(year,'is not a leap year')
Like, Share and SUBSCRIBE
#25 Python Tutorial for Beginners | Prime Number in Python
How to Check if a Number is Even or Odd in Python
Frequently Asked Python Program 2: How To Check A Number is Prime Or Not
Python Example Program to Check if a Number is Even or Odd ( User Input )
any() in Python - Check If An Iterable Contains True
Palindrome Program in Python
all() in Python - Check If All Items Are True
Unit Tests in Python || Python Tutorial || Learn Python Programming
How To Use The main() Function In Python | Master Python Main Function #pythontips #python #phython
P_28 Coding Exercise for Beginners in Python | Exercise 8 | Python Tutorials for Beginners
If statements in Python are easy (if, elif, else) 🤔
Python and Prime Numbers || Python Tutorial || Learn Python Programming
Python Program even/odd
Python If Statements | Python Tutorial #10
How To Write Unit Tests For Existing Python Code // Part 1 of 2
Python file detection 📁
Python Tutorial: Unit Testing Your Code with the unittest Module
Python Program to Check If the Number is Armstrong or Not?
Python Program to Check Prime Number - Complete Guide | Python Tutorial
Python Basics - 28 part 1 - Check if Specific Words Exist in A File
C vs Python Speed Test #cpp #python #programming #code
#19 Python Tutorial for Beginners | If Elif Else Statement in Python
Frequently Asked Python Program 24:Check if a string contains any special character
Python for Coding Interviews - Everything you need to Know
Комментарии