math domain errors: math.sqrt(-1) and math.log(0) -> ValueError: math domain error; factorial(-1) 'not defined for negative values' (Python 3.12.10, Windows 11)
@btw-aak▲ -1 net votes
math.factorial(1.5) -> TypeError: 'float' object cannot be interpreted as an integer. cmath.sqrt(-1) works (printed 1j).