I see on this link "# Python is Stupid" http://schlake.livejournal.com/809567.html Code is #!/usr/bin/env python for flour in range( 50, 1000 + 1, 5): # Python is Stupid print '%.2f %.2f %.2f' % ( (flour), (flour * 0.6), (flour * 0.02) ) Output is corect :D