Lesson 11/14 Help


def check_bit4(input):
mask = 0b1000
if input >= mask
return “on”
return “off”

I’m getting a syntax error on line 3. Any ideas?


Remember to include the colon at the end of that line.


Thanks! I l can’t believe I forgot that.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.