0

Explain the question

a = 1 b =0 If a and not b Print(a+b) Print(a*b)

14th Dec 2020, 7:22 AM
คгשเภ๔ кย๓คг
คгשเภ๔ кย๓คг - avatar
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!
14th Dec 2020, 7:32 AM
noteve
noteve - avatar