Hollow square program
siimnurges at gmail.com
siimnurges at gmail.com
Wed Dec 12 12:25:59 EST 2012
More information about the Python-list mailing list
Wed Dec 12 12:25:59 EST 2012
- Previous message (by thread): Hollow square program
- Next message (by thread): samba 4 release
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
- Previous message (by thread): Hollow square program
- Next message (by thread): samba 4 release
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list