Python Program to Check Leap Year

A leap year is exactly divisible by 4 except for century years (years ending with 00). The century year is a leap year only if it is perfectly divisible by 400. For example,


To Write a Python program to compute the GCD or HCF of two numbers.

Program to find GCD or HCF of two numbers. GCD(Greatest Common Divisor) or HCF (Highest Common Factor) of two numbers is the largest number that divides both of them. Using Loops

Using Euclidean Algorithm

Using Recurssion