MCPcopy Create free account
hub / github.com/geekcomputers/Python / result

Function result

calculator.py:91–98  ·  view source on GitHub ↗

input: term of type str output: none purpose: passes the argument to the function calc(...) and prints the result onto console.

(term)

Source from the content-addressed store, hash-verified

89
90
91def 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
101def main():

Callers 1

mainFunction · 0.70

Calls 1

calcFunction · 0.85

Tested by

no test coverage detected