Advertisement
nq1s788

Untitled

Sep 1st, 2023
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. width = 30
  2. side = 4
  3. boldness = 4
  4. height = 13
  5.  
  6. empty = '_' * width + '\n'
  7. body = '_' * side + '*' * boldness + '_' * (width - side - boldness) + '\n'
  8. vert = '_' * side + '*' * (width - 3 * side) + '_' * 2 * side + '\n'
  9. print(empty +
  10.       vert * (boldness // 2) +
  11.       2 * body +
  12.       vert * (boldness // 2) +
  13.       (height - 4 - 2 * (boldness // 2)) * body +
  14.       empty
  15. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement