how to use loop for writing a string/text 10 times.