Why is this code wrong :
def parrot_trouble(talking, hour):
  if talking == True and hour < 7 or hour > 20:
    return True
  else : 
    return False
And why is this code right:
def parrot_trouble(talking, hour):
  if talking == True and (hour < 7 or hour > 20):
    return True
  else : 
    return False
 
     
     
     
     
     
     
     
    