Transfer practice · Display whether counts 3, 4, and 5 each fit a capacity of 4. Output must be the booleans true, true, then false. At or below includes equality.
v3 · Activity 1 of 1 · comparison · boundaries · 8 min Runs here
Use a familiar idea in a different task. Read the changed requirement before running.
Display whether counts 3, 4, and 5 each fit a capacity of 4. Output must be the booleans true, true, then false. At or below includes equality.
true true false
Lines must stay in order. Spelling, capitalization and spaces inside a message matter.
print(10 >= 10)The two numbers are equal, so the inclusive comparison displays true.
New syntax: >, >=, ==, <=
== checks equality; = assigns a value. Here >= checks whether a number is greater than or equal to the requirement.
This checks three observed outcomes. Later, function tests try changing inputs and boundary values automatically.
Select a word or symbol in this authored example. Your editor draft stays unchanged.
4 5
5 5
6 5This is a private experiment copy. It does not replace your answer or complete the activity.
Your output will appear here.
Replace this code with the starter? Download your draft to keep a copy.
Your output will appear here.
Sign in with RoCreators to save private progress across devices. Community verification is separate.