misbehaving functionality of all() function
29 Apr
2019
29 Apr
'19
12:50 p.m.
Hello, I was going through python 3.6 docs and i am finding all function is behaving differently when working with variables and lists. The all() function is not iterable for complex numbers. but when I am passing complex number in list, the all function returns True. l = [1,2,1+12.1j] all(l) I felt happy if you guys reply on top of these. Thanks&Regards, V.Saibabu.
1794
Age (days ago)
1816
Last active (days ago)
1 comments
2 participants
participants (2)
-
Julien Palard
-
Sai Chandra Kumar