+ 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
2 odpowiedzi
This is the code import cmath print(round(cmath.sqrt(12*32/5))) output: TypeError: type complex doesn't define __round__ method