hellois contained in the string
helloworld, then output
it's in the string!"
"hello" in "helloworld"is
True, the next line
print("it's in the string!")is executed.
else:to execute an alternate outcome (e.g. if the condition is not met)
ifstatement finds out if the temperature is between the value 10 to 20, which is described by "larger than 10 and smaller than 20".
elifconditions as you like. Note that in this case
elsestatement is a "catch all" condition; if all the
elifconditions are NOT met, then execute the