Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- word = input()
- count = int(input())
- def repeat(a, n):
- new_word = word * count
- return new_word
- print(repeat(word, count))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement