Ahoj, v ucebnici uvadi tento kod:
-funguje vam? Co delam spatne, ze toto nefunguje.
Děkuji
-----------------
kod:
import math
if x < 0:
print("The negative number ", x, " is not valid here.")
x = 42
print("I've decided to use the number 42 instead.")
print("The square root of ", x, "is", math.sqrt(x))