Advertisement
Spocoman

04. Repeat String

Jan 25th, 2022
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. string = input()
  2. count = int(input())
  3.  
  4. def string_repeat():
  5.     return string * count
  6.  
  7. print(string_repeat())
  8.  
  9.  
  10. Или тарикатската:)
  11.  
  12. print(input() * int(input()))
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement