Repeat String

Repeat a string a specified number of times to create a new concatenated string.

Code

General
str * count

Parameters

The string to repeat

Number of times to repeat

Server

More Python Snippets