Вся программа должна выглядеть так:
read the numbers into a list.
print the histogram of the list.
Для печати гистограммы списка:
find the maximum of the numbers.
for each number starting with the maximum, going down to 1:
print the corresponding line of the histogram.
Для печати строки x
гистограммы:
for each of the numbers from the list:
if x is at least the number:
print " *"
otherwise:
print " "
print a linebreak
Теперь ваша задача - преобразовать этот псевдокод на язык, выбранный вашим инструктором.