0
Explain the question
a = 1 b =0 If a and not b Print(a+b) Print(a*b)
1 Answer
+ 1
0 = False
1 = True
non-zero = True
If a and not b = If True and not False = True
a + b = 1
a * b = 0
I have noticed that you post your doubts here regarding small problems and explanation.
Instead of asking in Q&A Forum, check Comment Sections every Lessons or Quizzes, it is easier and faster than waiting for someone to answer your question, and also
People explain it there better and gives examples. Happy Coding!