Guest User

Untitled

a guest
Jun 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. ## strings
  2.  
  3. # the maximum width of the output is 32 characters, so these strings
  4. # need to be separated into measures at 32 characters.
  5.  
  6. foo = "o-------o-------o-------o-------o-------o-------"
  7. bar = "o-----o-----o-----o-----o-----o-----o-----o-----"
  8.  
  9. ## current output
  10.  
  11. # not good, not good. each patterns wraps around (unreadable).
  12.  
  13. o-------o-------o-------o-------
  14. o-------o-------
  15. o-----o-----o-----o-----o-----o-
  16. ----o-----o-----
  17.  
  18. ## desired output
  19.  
  20. o-------o-------o-------o-------
  21. o-----o-----o-----o-----o-----o-
  22.  
  23. o-------o-------
  24. ----o-----o-----
Add Comment
Please, Sign In to add comment