Rewrite the following Python code after removing all syntax error(s). Underline the corrections done. def main():
Rewrite the following Python code after removing all syntax error(s). Underline the corrections done.
def main():
r = raw-input(‘enter any radius : ’)
a = pi * math.pow(r,2)
print “ Area = ” + a
9 views
1 Answers
def main ():
r = raw_input(‘enter any radius : ’)
a = pi * math.pow(r,2)
print “ Area = ”, a
9 views
Answered