making lines repeat??--please HELP ME!!!!!!!!!!!!!!!!!!

How do I make a line that I have created, repeat over and over by clicking a key???

please help

a ‘for loop’.