here i have to Write small a program that asks the user to enter 20 numbers (stored in a list), between 1 and 10 and draws a simple of asterisks for the data in the list. For example:
10) * * * * * * *
09) * * *
08) * * * *
07)
06) * *
05) *
04)
03) * * *
02)
01)
and i dont have now clue, how i would start this, if any one can give help to strat, that will be great.
i have made start, but need help fishing it of, see below.
import random
for i in range(20):
print '*'*random.choice(range(1,11)