print"Let's practice everything."print'You\'d beed to know \' about escapes with \\ that do \n newlines and \t tab.'poem="""
\tThe lovely world
with logic so firmly planted
cannot discern \n the needs of love
nor comprehend passion from intuition
and requires an explanation
\n\t\twhere there is none.
"""print"----------"printpoemprint"----------"five=10-2+3-6# number can be print as stringprint"This should be five: %s"%five# The function can return more one resultdefsecret_formula(started):jelly_beans=started*500jars=jelly_beans/1000crates=jars/100returnjelly_beans,jars,cratesstart_point=10000# Assign more than one variablesbeans,jars,crates=secret_formula(start_point)print"With a starting point of: %d"%start_pointprint"We'd have %d beans, %d jars, and %d crates."%(beans,jars,crates)start_point=start_point/10print"We can also do that this way:"print"we'd have %d beans, %d jars, and %d crates."%secret_formula(start_point)