16. Comprehending Comprehensions


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

16. Comprehending Comprehensions. Please take a Look

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?


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