Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# Greater than or equal: >=
# Greater: >
if (mass >= 100 and friction > 0.001):
	do something

# Less than or equal: <=
# Is not: !=
if (velocity <= 5.0 or velocity != 10.0):
	do something

# EqualityEqual, exactly the same: ==
if (name == "Rocket01"):
	do something