Skip to content

Instantly share code, notes, and snippets.

@LevZaplatin
Last active September 19, 2019 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LevZaplatin/4da09093289042408207177eebbbfe11 to your computer and use it in GitHub Desktop.
Save LevZaplatin/4da09093289042408207177eebbbfe11 to your computer and use it in GitHub Desktop.

Выведите на экран квадрат из нулей и единиц, причем нули находятся только на диагонали квадрата. Пользователь вводит длину стороны квадрата

python task.py 10

0111111110
1011111101
1101111011
1110110111
1111001111
1110110111
1101111011
1011111101
0111111110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment