in reply to repeat characters in text

print ( "a" . ( "!" x 5 ) )

That'll do the trick O:-)