#308. Big or small?
When the green flag is clicked, this script runs. What will the cat say?
when green flag clicked set [x v] to (20) if <(x) > (60)> then say [Big] else say [Small] end
# When the green flag is clicked
x = 20
if x > 60:
print("Big")
else:
print("Small")
let x = 0;
// When the green flag is clicked
x = 20;
if (x > 60) {
console.log("Big");
} else {
console.log("Small");
}
💡 Not sure? Build it in Scratch and try it out.