Please why is it that my phyton 2.7 doesn't accept angle(x) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please why is it that my phyton 2.7 doesn't accept angle(x)

8th Jan 2018, 12:01 PM
Toye Aribisala
Toye Aribisala - avatar
4 Answers
+ 2
Python 3 is better, developers are shifting to Python 3 support. as you rightly tried out.
10th Jan 2018, 12:22 AM
Emmanuel S.
+ 1
thanks. I tried it in the console of phyton 3 and it accepted angle(x). will try conjugate
8th Jan 2018, 1:21 PM
Toye Aribisala
Toye Aribisala - avatar
+ 1
thanks Mr Emmanuel. I appreciate
10th Jan 2018, 5:00 AM
Toye Aribisala
Toye Aribisala - avatar
0
I don't know how to do stuff with complex numbers yet (not even in high school yet), but angle() isn't a function in Python. Try conjugate(), it has things to do with complex numbers.
8th Jan 2018, 1:18 PM
LunarCoffee
LunarCoffee - avatar