+2 votes
in Class 12 by kratos

Rewrite the following Python code after removing all syntax error(*). Underline the corrections done.

def main():

r = raw-input(‘enter any radius : ’)

a = pi * math.pow(r,2)

print “ Area = ” + a

1 Answer

+1 vote
by kratos
 
Best answer

def main ():

r = raw_input(‘enter any radius : ’)

a = pi * math.pow(r,2)

print “ Area = ”, a

...