KnowledgeBoat Logo
|

Robotics & Artificial Intelligence

Write a Python program to demonstrate the use of repetition operator of a String.

Python String Manipulation

1 Like

Answer

str1 = "Hello"
print(str1 * 3)
Output
HelloHelloHello

Answered By

2 Likes


Related Questions