#################### # Basic && and || support first second third true && false: 1 true || false: 0 true && false || true: 0 #################### # && and || in if statements if test 1 ok if test 2 ok if test 3 ok if test 4 ok #################### # && and || in while statements 0 0 0 1 1 1 2 2 2 3 3 3 4 4 4 #################### # Complex scenarios 1 2 3