Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
In Python there are several String Operations. The * operator can be used to repeat a string multiple times and form a larger string. For eg. to repeat the string game, 5 times and store it in a variable called games use games = "game" * 5
animal with a value of cat. ten_animals having 10 times the string stored in animal
            Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Loading comments...