Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. ### this is the input
  2. ###
  3. ###
  4.  
  5. _____ put a row of underscores stretching one character off either side on top
  6. ###
  7. ###
  8. ###
  9.  
  10. _____ put a diagonal of slashes in front going the height of the input
  11. / ###
  12. / ###
  13. / ###
  14.  
  15. _____ put a diagonal of backslashes in front of that, going up half of the input's height rounded up
  16. / ###
  17. / ###
  18. / ###
  19.  
  20. Input:
  21. 40
  22. Output:
  23. ____
  24. / 40
  25.  
  26. Input:
  27. ____
  28. / 40
  29. Output:
  30. _______
  31. / ____
  32. / / 40
  33.  
  34. Input:
  35. /|
  36. |
  37. |
  38. _|_
  39. Output:
  40. _____
  41. / /|
  42. / |
  43. / |
  44. / _|_
  45.  
  46. Input:
  47. # #
  48. # #
  49. #####
  50. #
  51. #
  52. Output:
  53. _______
  54. / # #
  55. / # #
  56. / #####
  57. / #
  58. / #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement