Skip to content

Instantly share code, notes, and snippets.

View xfenix's full-sized avatar
😏
All commits are lost

Denis xfenix

😏
All commits are lost
View GitHub Profile
@xfenix
xfenix / Yzhasnii_kod_kak_slomat_piton_with_eto.py
Last active August 2, 2020 15:24
Beautiful fork of python newbies group code example. SyntaxError: too many statically nested blocks -- FUCK YEAH
n=22
z=[0]*(n-1)
for z[0] in range(z[-1],(n-sum(z[:0]))//(n-0)+1):
for z[1] in range(z[0],(n-sum(z[:1]))//(n-1)+1):
for z[2] in range(z[1],(n-sum(z[:2]))//(n-2)+1):
for z[3] in range(z[2],(n-sum(z[:3]))//(n-3)+1):
for z[4] in range(z[3],(n-sum(z[:4]))//(n-4)+1):
for z[5] in range(z[4],(n-sum(z[:5]))//(n-5)+1):
for z[6] in range(z[5],(n-sum(z[:6]))//(n-6)+1):
for z[7] in range(z[6],(n-sum(z[:7]))//(n-7)+1):