Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

A very important technique is to compare values against each other and make a decision:

 

if (mass >= 100 and friction == 0.001):
	do something
 
if (velocity >= 5.0 or velocity <= 10.0):
	do something

if (name == "Rocket01"):
	do something

 

  • No labels