Python Practice › String Programs › Program 103

Print a string 3 times

EasyString Programs · 103 of 106

Write a Python program to print a string 3 times.

Advertisement
Input
"sqatools"
Output
sqatoolssqatoolssqatools

Approach

  1. * 3.

Solution

Python
print("sqatools" * 3)
Output
sqatoolssqatoolssqatools
Advertisement

Learn the concept

New to this topic? Read the lesson, then come back.

More string programs

← All 106 String Programs