Обьясните пожалуйста в чем проблема моего кода

def square(side, symbol, peremennaya):

for i in range(side):

for j in range(side):

if peremennaya or i == 0 or j == 0 or i == side - 1 or j == side - 1:

print(symbol, end=' ')

else:

print(' ')

print()

result = square(1, 3, 4)

print(result)
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.