16. Comprehending Comprehensions


#1

For some reason it doesn't print "3" and I keeping getting this error. Any idea??


16. Comprehending Comprehensions. Please take a Look
#2

You have x & 3 == 0 as part of the condition. What is the reason for using the & operator there, which is for performing a Bitwise AND operation?


#3

Thank you so much! I must have gotten blind by looking codes for too long.


#4