#!/usr/bin/env python # Can you fix this code and have it format nice output? # # prints out a multiplication table # written by e.bonakdarian Sept 2009 prints 'this prints out a multiplication table" prints "starting from zero to a user-specified value" uprange== raw_input('enter value:') if upgrange < 0 print "error error error' print "try again!' elif print "good job" # can you format this nicely using % formatting? For i inthe range(uprange) print "i = "; i; "i square"; i*i # using a while loop: print ' now with a while loop' while upgrange > 0 print "i = "; i; "i square"; i*i uprange = upgrange + 1 print 'the end .. thanks for playing :-)'