Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ryo = int(input("Please enter the line length:"))
- sean = input("v for vertical, h for horizontal:")
- if(sean == "h"):
- print("*"*ryo)
- if(sean == "v"):
- for x in range(0,ryo):
- print("*")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement