Created
July 29, 2021 12:31
-
-
Save alevchuk/4dbdb7fe50c07ceba2cd604c2eddd0d0 to your computer and use it in GitHub Desktop.
Revisions
-
alevchuk created this gist
Jul 29, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ for column in range(3): print(str(column) + '---> ', end='') for cell in range(5): print('[' + str(cell) + '] ', end='') print('~~~') # Результат: ''' 0---> [0] [1] [2] [3] [4] ~~~ 1---> [0] [1] [2] [3] [4] ~~~ 2---> [0] [1] [2] [3] [4] ~~~ '''