Well, I did some modifications, but the columns aren't perfectly aligned with 
the rows. 

rows = int(input())
s1="* "*rows
s2="*"+(rows-2)*" "+"*"
print(s1)
for s in range(rows-2):
    print(s2)
print(s1) 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to