Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def prostokat( w, h ):
- print "\n".join(
- [ w * "x"]
- + (h-2) * [ "x" + ( " " * (w-2) ) + "x"]
- + [ w * "x"]
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement