Python Practice › String Programs › Program 103
Print a string 3 times
Write a Python program to print a string 3 times.
Input
"sqatools"
Output
sqatoolssqatoolssqatools
Approach
* 3.
Solution
print("sqatools" * 3)Output
sqatoolssqatoolssqatools
Learn the concept
New to this topic? Read the lesson, then come back.