Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- title = input()
- article = input()
- result = f'<h1>\n {title}\n</h1>\n<article>\n {article}\n</article>'
- while True:
- line = input()
- if line == 'end of comments':
- break
- result += f'\n<div>\n {line}\n</div>'
- print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement