In this article, we will see how to write a python program to check Leap Year. A year is said to be a leap year Read More…
Python String isdigit() method
The python string isdigit() method is one of the inbuilt functions of string. The isdigit() function is used to check whether a string consists of Read More…
Python Program to check if a number is odd or even
In this article, we will see a python program to check whether a number is odd or even. As we know, a number is said Read More…
Python Program to convert Celsius to Fahrenheit
In this article, we will see Python Program to convert celsius to Fahrenheit. Before proceeding, we should have basic knowledge of the below topics. Python Read More…
Python set discard() method
The python set discard() method is the same as the python set remove() method. This is used to discard or remove the specified element from Read More…
Python set remove() method
The set remove() method in Python removes the specified element from the set. And if the specified element is not present in the set, it Read More…
Python ord() function
In this article, we will learn about the Python ord() function and we will see the different examples of the ord() function ahead. ord is Read More…
Python set add() function
The set add() function of python is used to add a specified element into a set. As we know, sets in mathematics do not allow Read More…
How to use Decorators in Python
Decorators are a powerful and intriguing feature in Python. Decorators are used to changing how a function or class behaves. In Decorators, functions are passed Read More…
Python Program to Convert Kilometers to Miles in Python
In this article, we will see Python Program to convert Kilometer to miles and miles to kilometer (km). Miles and kilometers are two different units for Read More…