mercredi 10 mars 2021

how not a or b logic works?

i can get output but the problem is I don't how it works and how it checks the condition and makes the result?

    a=True
    b=False
    c=False
    if not a or b:
      print(a)
    else:
      print(b)

Aucun commentaire:

Enregistrer un commentaire