+ 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

6th Jan 2018, 12:10 PM
RODENT
RODENT - avatar
2 Réponses