Home Coding Data Types – Booleans

Data Types – Booleans

0
Data Types – Booleans

# Data Types - BOOLEANS
# Booleans number can have only two states, True or False
# Be sure to write it with the first capital letter
# 
# Normally booleans values are used to evaluate
# the truth of an expression.
# So 1 == 1 will be True
# 1 == 2 will be False

bool1 = True			# I'm True
bool2 = False			# I'm False
bool3 = not True    # I'm not True, ok I'm False
bool4 = not False		# Guess who I am.
bool5 = true			# I'm an error
							# BTW, comment me before run the script
# copy www.AEC.codes
OUT = (bool1 ,bool2 ,bool3 ,bool4)