Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is the result of 8 / 2?
What does division give you?
What will x = 5 and then x += 3 result in?
Think of how addition updates the value.
What operator is used for addition in Python?
Consider basic math symbols.
True or False: The expression 5 != 5 evaluates to True.
Think of what 'not equal' means.
Create a function that takes two numbers and checks whether the first number is divisible by the second using operators.
Think about the modulus operator.
Write a program that uses logical operators to check if a number is both positive and less than ten.
Combine conditions with 'and' to ensure both are true.
6 more questions in this section. Enroll free to practise them all.
Enroll free