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