Boxes of O's

geniusrko at gmail.com geniusrko at gmail.com
Sat Mar 1 20:12:32 CET 2014


Hi 
Can anyone help with this problem 

Create a big box out of n rows of little o's for any desired size n. Use an input statement to allow the user to enter the value for n and then print the properly sized box.

E.g. n = 3						
oooooo
o    o
oooooo

E.g. n = 8
oooooooooooooooo
o              o
o              o
o              o
o              o
o              o
o              o
oooooooooooooooo


using only loops
Thanks



More information about the Python-list mailing list