Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def func(string):
- """makes a list of words"""
- list = string.split()
- for i in range(len(list)):
- for j in range(len(list[i])):
- print(list[i][j] * len(list[i]))
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement