how to repeat a string n times in python with string code example Example: python string repeat n times print("Alice" * 5) # AliceAliceAliceAliceAlice