Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the result of 10 // 3?
Think floor division which rounds down.
Write an example using the != operator.
Check for inequality.
What does the expression 5 + 3 * 2 evaluate to?
Remember BIDMAS/BODMAS rules.
Is the statement 10 > 5 or 5 < 3 true?
Consider how 'or' operates.
Write a function that takes two numbers and returns True if the first is greater than the second and both are even.
Use comparison and logical operators together.
Evaluate the expression ((5 + 5) * 2) > 10 and not (3 == 3) and explain what is happening.
Break it down step by step.
4 more questions in this section. Enroll free to practise them all.
Enroll free