Area of circle in python Without pi*
radius=float(input("Enter radius of the circle : "))
area=3.14*radius*radius
print("area of circle",area)
Output :
Enter radius of the circle : 5
area of circle 78.5
radius=float(input("Enter radius of the circle : "))
area=3.14*radius*radius
print("area of circle",area)
Output :
Enter radius of the circle : 5
area of circle 78.5
Count Upper Case and Lower Case Word in a string (Python) def string_test(s): d={"UPPER_CASE":0, "LOWER_CASE":...
0 comments:
Post a Comment
gurnoorsingh5974@gmail.com