Can someone tell me why I'm getting 4 as the outcome? Should 3 be printing instead because the code is satisfied in the If section.
a = 15 if a&5 == 0: print('3') elif a% 5 == 0: print('4') else: print('5')
Aucun commentaire:
Enregistrer un commentaire