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