how to attach a float number in a print line code example Example: printing float number python x = 1.1234567898 print("%.10f" % x)