Complete-Python-3-Bootcamp icon indicating copy to clipboard operation
Complete-Python-3-Bootcamp copied to clipboard

First exercise of Methods and Functions Homework. Output is incorrect.

Open hd10-hd10 opened this issue 1 year ago • 1 comments

First exercise of Methods and Functions Homework. Answer should be 33.510321638291124

def vol(rad):
    pass
# Check
vol(2)
33.49333333333333

volume

hd10-hd10 avatar May 06 '24 04:05 hd10-hd10

he gave the value of radius as 22/7 and on google value of radius is more accurate that is reason for the different value

Towseef019 avatar May 15 '24 03:05 Towseef019