Advertisement
EmmettMilligan

Python Box

Jan 17th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. ryo = int(input("Please enter the line length:"))
  2. sean = input("v for vertical, h for horizontal:")
  3. if(sean == "h"):
  4. print("*"*ryo)
  5. if(sean == "v"):
  6. for x in range(0,ryo):
  7. print("*")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement