Python program to check if a number is odd or even
Python program to check if a number is even or odd.
Python program to find the square root
Python example to find the square root of both integer and complex numbers in Python 3.
Python program to convert degree to radian
Python example to convert degrees to radians and vice versa.
Find Duplicate Characters in a Python String (2 ways)
A common interview question. Learn to find duplicate characters in a string (2 ways).
Finding N Largest(Smallest) items in Python with Heapq
A simple way to return the N largest or smallest elements using the heapq module in Python 3.