Four sides of square: Difference between revisions

→‎{{header|Python}}: Normalized from tabs to space multiples in Calmosoft's contribution.
(→‎{{header|Python}}: Normalized from tabs to space multiples in Calmosoft's contribution.)
Line 442:
 
=={{header|Python}}==
<lang python>size = 9
size = 9
for Row in range(size):
for Col in range(size):
if (Row == 0 or Row == size-1 or Col == 0 or Col == size-1):
print("1", end=" ")
else:
print("0", end=" ")
print()</lang>
</lang>
{{out}}
See Raku output.
9,655

edits