#385. Not
When the green flag is clicked, this script runs. What will the cat say?
when green flag clicked set [x v] to (4) if <not <(x) = (8)>> then say [Different] else say [Same] end
# When the green flag is clicked
x = 4
if not (x == 8):
print("Different")
else:
print("Same")
let x = 0;
// When the green flag is clicked
x = 4;
if (!(x === 8)) {
console.log("Different");
} else {
console.log("Same");
}
💡 Not sure? Build it in Scratch and try it out.