Program to repeat a given string 5 times.

In this python basic program, we will repeat a given string 5 times.

Steps to solve the program
  1. Take a string as input.
  2. To repeat the string 5 times multiply the given string by 5.
  3. Print the output.
				
					str1 = "SQATools"
print(str1*5)
				
			

Output :

				
					SQAToolsSQAToolsSQAToolsSQAToolsSQATools
				
			

multiply two numbers.

get the Average of given numbers.

Leave a Comment