Advertisement
simeonshopov

Repeat string (functions/book)

Nov 14th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. def repeat_string(string, count):
  2.   print(f"{string}" * count)
  3.  
  4. string = input()
  5. count =  int(input())
  6.  
  7. repeat_string(string, count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement