Generate a Python program that accepts an integer as an input and then outputs a string composed of stars
5
# Get the number from the user
num = int(input("Enter a number: "))

# Generate a string of stars
star_string = '*' * num

print(star_string)