def print_n_stars(i): while i > 0: print "*", i = i - 1 print ""
>>> print_n_stars(1) * >>> print_n_stars(5) * * * * *