A PHP Error was encountered

Severity: 8192

Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

Filename: libraries/Filtered_db.php

Line Number: 23

Write a Python program to print the square and cube symbol in the area of a rectangle and volume of a cylinder
Q:

Write a Python program to print the square and cube symbol in the area of a rectangle and volume of a cylinder

0

Write a Python program to print the square and cube symbol in the area of a rectangle and volume of a cylinder.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

area = 1256.66
volume = 1254.725
decimals = 2
print("The area of the rectangle is {0:.{1}f}cm\u00b2".format(area, decimals))
decimals = 3
print("The volume of the cylinder is {0:.{1}f}cm\u00b3".format(volume, decimals))

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now