Saved Bookmarks
| 1. |
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 |
|
Answer» def main (): r = raw_input(‘enter any radius : ’) a = pi * math.pow(r,2) print “ Area = ”, a |
|