Short circuit
(5 < 3) and print("hey")
False
(5 > 3) or print("hey")
True
(5 < 3) or print("hey")
hey
(5 > 3) and print("hey")
hey
Quiz
Answer the questions to check your understanding.
This lesson includes a short quiz.
Lesson discussion
Swap insights and ask questions about Python Temel
Be the first to start the discussion
Ask a question or share your thoughts about this lesson.