+ 1
Round can't round the complex number, just need to round it ,how. ??
This is the code import cmath print(round(cmath.sqrt(12*32/5))) output: TypeError: type complex doesn't define __round__ method
1 Respuesta
This is the code import cmath print(round(cmath.sqrt(12*32/5))) output: TypeError: type complex doesn't define __round__ method