python
Python

How do you find the area in Python?

#Area of the rectangle  width=int(input(“Enter the width of Rectangle: “)) height=int(input(“Enter the height of Rectangle: “)) area=width*height print(“area of Rectangle is”,area) output Enter the width of Rectangle: 5                                                                                                            Enter the height of Rectangle: 6                                                                                                                 area of Rectangle is 30 #Area of circle  PI=3.14 R=float(input(“Enter the Redious of circle: “)) area=PI*R*R print(“area of circle is”,area) output Enter the Redious of […]

python
Lists Python

Write a program to calculate simple interest in Python?

Python is an interpreted, high-level, general-purpose programming language. Machine Learning, Artificial Intelligences, Data Science Use Python Programming to produce desire output. To calculate Simple Intrest We used the following Mathematical  Formula. S.I=(P*T*R)/100 Where, S.I= Simple Intrest P= Principle Amount (eg Rs 200000) T= Time Period  (eg 3 Years ) R= Rate    ( eg 14%) […]