Im trying to create a chart for radii that the output looks like this.
Radius Area Circumference
1.000 3.142 6.283
2.000 ... ...
The prints under main do not show up at all. Any suggestions on how I might fix this? Im using python 3.4.
def main():
print('Radius\tArea\tCircumference')
print('-----------------------------')
for Radius in range(1 , 11):
round (3)
Area = (Radius)**2*3.14
Circumference = (Radius)*2*(3.14)
a = Radius
b = Area
c = Circumference
d = round(a, 3)
e = round(b, 3)
f = round(c, 3)
print ('{:2d}{:10.2f}{:10.2f}'.format(d, (e), (f)))