# Author - Ayush Mathur
# Define a procedure histogram() that takes a list of integers and prints a histogram to the screen
# For example, histogram([4, 9, 7]) should print the following:
# ****
# *********
# *******
############################################################################################################

def histogram(array):          # Histogram procedure which prints * as many times as the values in the passed array
    """A histogram function"""
    for x in range (???,???):
        print ('???' * ???)
    return
array=[]
num=int(input("Enter length of array: ")) 
for n in range(???):           # Loop to take user inputs of values in array
    inp=int(input("Enter element " + str(n+1) + ": "))
    array.append(???)
histogram(???)