# 7/10/14
# Fun with formatting floating point

print(3.1415926)

print()

a = 1.2
b = 1.23
c = 1.234
d = 1.2345

#Justified the ouputs left
print(a)
print(b)
print(c)
print(d)

#catinating a string multiple times
print ("Yo "*10)

#Justifying to the center (Decimals align)
print (" "*2, a)
print (" "*2, b)
print (" "*2, c)
print (" "*2, d)

print ("\n\n")

print ("%2.1f" % a)
print ("%3.1f"% b)
print ("%4.1f" % c)
print ("%5.1f" % d)
















