Ex: str(), abs(), \t, \u, \n, r

.

print("Examples: str(),abs(),\\\u0074 and \\\u006e \n") # to print \t and \n we use an escape sequence; \uxxxx says print this hex coded unicode character
#the final \n will cause a newline to occur
print(  r"r:  Examples: str(),abs(),\t, \n, \uxxxx and r to avoid escapes") # r in front of quote ignores escape characters
x,y,z=-1,-10.454,7 # assigning multiple variable values at once
print('str(): We assigned these values to strings x, y, and z: \n'+ str(x)+" "+str(y)+" "+str(z))
print("abs():  If we take their absolute values we convert all negative number to positives.")
print("\t:  ...and when we print them we can use " + r'\t' + " to separate them with tabs.")
print("The absolute values of x, y, and z are: ")
print(abs(x),"\t",abs(y),"\t" ,abs(z)) # \t is tab