Python «вызов функции» не будет печатать звездный узор [закрыто] ⇐ Python
Python «вызов функции» не будет печатать звездный узор [закрыто]
I can’t figure out what the function is to call multiple functions to print full words in Star Pattern from my program below. This is another thing I am practicing from the program I have.
The original code that works is...
def pattern(name): list2 = [] for i in range(len(name)): if name =="B": print_B = [[" " for i in range (5)] for j in range (5)] for row in range(5): for col in range(5): if (col==0) or (col==4 and (row!=0 and row!=2 and row!=4)) or ((row==0 or row==2 or row==4) and (col>0 and col
Источник: https://stackoverflow.com/questions/780 ... ar-pattern
I can’t figure out what the function is to call multiple functions to print full words in Star Pattern from my program below. This is another thing I am practicing from the program I have.
The original code that works is...
def pattern(name): list2 = [] for i in range(len(name)): if name =="B": print_B = [[" " for i in range (5)] for j in range (5)] for row in range(5): for col in range(5): if (col==0) or (col==4 and (row!=0 and row!=2 and row!=4)) or ((row==0 or row==2 or row==4) and (col>0 and col
Источник: https://stackoverflow.com/questions/780 ... ar-pattern
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Заменить звездный рейтинг woocommerce по умолчанию на собственный значок звезды [закрыто]
Anonymous » » в форуме CSS - 0 Ответы
- 10 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Я выполняю парсинг веб-страниц на influenster.com, но не могу получить звездный рейтинг.
Anonymous » » в форуме Python - 0 Ответы
- 11 Просмотры
-
Последнее сообщение Anonymous
-