Skip to content

Instantly share code, notes, and snippets.

@alevchuk
Created July 29, 2021 12:31
Show Gist options
  • Save alevchuk/4dbdb7fe50c07ceba2cd604c2eddd0d0 to your computer and use it in GitHub Desktop.
Save alevchuk/4dbdb7fe50c07ceba2cd604c2eddd0d0 to your computer and use it in GitHub Desktop.
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] ~~~
'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment