Rounding a number

Seymore4Head Seymore4Head at Hotmail.invalid
Thu Apr 30 21:49:52 CEST 2015

I have this page book marked.

I am getting numbers from sixty thousand to two hundred thousand.
I would like to round them to the nearest thousand.
So 65,253 should read 65,000.

for x in range (10,35):
    print ("Foo {:7,.0f} Fighters".format(Total*count))

More information about the Python-list mailing list