Python: If Statements

4/17/2020 5:45:17 PM

Some simple Python If statements.


if (some_value == "i dont like it"
	or some_value.startswith("ignore_")
	):
	# print("ignore and continue: " + class_method)
	continue
	
elif some_value == "good stuff":
	print("this looks good")
	# do something
	
else:
	# do something else