input: term of type str output: none purpose: passes the argument to the function calc(...) and prints the result onto console.
(term)
| 89 | |
| 90 | |
| 91 | def result(term): |
| 92 | """ |
| 93 | input: term of type str |
| 94 | output: none |
| 95 | purpose: passes the argument to the function calc(...) and |
| 96 | prints the result onto console. |
| 97 | """ |
| 98 | print("\n" + str(calc(term))) |
| 99 | |
| 100 | |
| 101 | def main(): |