Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
What is this j for?
I’m a new learner. can anyone please help me why the answer is 5.0 for the following?( sorry for the silly question). Thanks in advance Print(abs(3+4j))
1 Réponse
+ 5
abs() shows the absolute distance from the 0 point, for complex numbers, too.
Please refer to this post below:
https://www.sololearn.com/Discuss/2209933/?ref=app