Python Program to Calculate Area of Triangle

Here we will write a program in Python to calculate Area of Triangle. To find the area of triangle we need the sides of the triangle, if this program will only work if we have sides of triangle. So let’s see how to calculate area of triangle: If a, b and c are three sides of a triangle. Then using … Read more

Python Program to Convert Celsius To Fahrenheit

Here we will a program to convert Celsius to Fahrenheit in Python, lets first understand how to convert Celsius to Fahrenheit. How to convert? We will use the simple formula for the conversion of temperature from Celsius to Fahrenheit. celsius * 1.8 = fahrenheit – 32 Now lets write the code for the same. Python … Read more

Python program to find factors of numbers

Here we will write a Python program to find factors of numbers using for loop. So without wasting any time lets write the code for it.   Python program to find factors of numbers: # Python Program to find the factors of a number # define a function def print_factors(x): # This function takes a … Read more