You are viewing a single comment's thread. Return to all comments →
Or alternatively, using the join function:
join
n = input() print '\n'.join('%d x %d = %d'%(n, i, n*i) for i in xrange(1, 11))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Loops
You are viewing a single comment's thread. Return to all comments →
Or alternatively, using the
joinfunction: