Party Hat

The solution asks the user for the size of the hat, and then prints it by looping said times and building the lines dynamically.