Hollow Right angle Triangle | Patterns in Python | Python Lectures |

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

r = int(input())
for i in range(1, r+1):
for j in range(1, r+1):
if j==r or i == 1 or i==j:
print('*', end='')
else:
print(" ", end='')

Codecloudai
welcome to shbcf.ru