#Area of Square with math.pow in python
import math
side=float(input("Enter side of square :"))
area=math.pow(side,3)
print("area of square : ", area)
Output :
Enter side of square :10
area of square : 1000.0
#Area of Square with math.pow in python
import math
side=float(input("Enter side of square :"))
area=math.pow(side,3)
print("area of square : ", area)
Output :
Enter side of square :10
area of square : 1000.0
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