Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- szo = None
- szavak = []
- i = 1
- x = 0
- ahany_szo = 10
- while i <= ahany_szo:
- szo = input('Adj meg egy szot! ')
- if szo and i <= ahany_szo - 1:
- szavak.append(szo + ' ')
- if szo and i is ahany_szo:
- szavak.append(szo + '.' )
- i += 1
- while x < 5:
- for szo in szavak:
- print(szo, end = '')
- print('')
- x += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement