Answer to Question #279165 in Python for Eddie

Question #279165

Given string s, write a short expression for a string that includes s repeated five times


1
Expert's answer
2021-12-13T16:57:34-0500
def mult(str):
	return 5 * str;

if __name__=='__name__':
  print(mult(input()))

input: exp

output: expexpexpexpexp


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS