booleans Flashcards
1
Q
boolean can only be
A
true or false
2
Q
how to check if 2 values are same
A
==
3
Q
print boolean results
A
var result="app"="app" print(result) false
4
Q
how to check if two values are not same
A
!=
5
Q
check if apple and orange is not same
A
var result="Apples"!="Orange" print(result) false
6
Q
check if one and ten are different
A
var result= 1 != 10 print(result) true