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

Function square_root

square_root.py:4–8  ·  view source on GitHub ↗
(number)

Source from the content-addressed store, hash-verified

2
3
4def square_root(number):
5 if number >= 0:
6 print(f"Square root {math.sqrt(number)}")
7 else:
8 print("Cannot find square root for the negative numbers..")
9
10
11while True:

Callers 1

square_root.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected