Advertisement
DiYane

HTML

Sep 26th, 2023
969
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. title = input()
  2. content = input()
  3. print(f"""
  4. <h1>
  5. {title}
  6. </h1>
  7. <article>
  8. {content}
  9. </article>
  10. """, end='')
  11. comment = input()
  12. while comment != "end of comments":
  13.     print('<div>')
  14.     print(comment)
  15.     print('</div>')
  16.     comment = input()
Tags: python
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement