Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This program calculates circumference and area of a square#
- ############################################################
- # The base of the square
- a = float(input("Enter base of a square: "))
- # Square circumference and area
- circumference = 4 * a
- area = a * a
- result = (circumference, area)
- # Print the result
- print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement