Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print "write height"
- height = gets.to_i
- for height in 1..height
- height * print " "
- height * print "*"
- height * print " "
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement