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