I'm sorry if this has already been asked.
I am printing out a quiz sheet and want to print out a series of underscores, alongside the question, that represents the length of the answer.
For example, for the State Capital of Alabama to produce __________ (10 underscores for the answer...