-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquinePi.py
25 lines (25 loc) · 950 Bytes
/
quinePi.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""||||||||||||"""#"""||||||||||||"""
"""||||||||""";S=-1.;#3"""||||||||"""
"""||||||""";I='import';#"""||||||"""
"""|||||""";F=2;N='\n';#48"""|||||"""
"""||||""";M='from math ';#"""||||"""
"""|||""";exec(I+' os');#548"""|||"""
"""||""";exec(M+I+' sqrt');#2"""||"""
"""||""";x='M=os.path.realp';"""||"""
"""|""";y='ath(__file__)';#960"""|"""
"""|""";exec(x+y);f=open(M);#9"""|"""
"""|""";s=f.read();o='%f';#796"""|"""
"""|""";a='for i in s:\n ';#18"""|"""
"""""";b='if(i==\'"\' ';#966587""""""
"""|""";c='or i==N):pass\n ';#"""|"""
"""|""";e='elif(i==\'|\'):';#4"""|"""
"""|""";f='S+=1\n else:F+=1';#"""|"""
"""|""";m=a+b+c+e+f;exec(m);#4"""|"""
"""||""";Q=S+F;H=.5;#09233228"""||"""
"""||""";r=sqrt(Q/4)-H;#19143"""||"""
"""|||""";p=F/r**2;r=o%p;#72"""|||"""
"""||||""";print(r)#7998036"""||||"""
"""|||||"""#20545244581130"""|||||"""
"""||||||"""#946966430446"""||||||"""
"""||||||||"""#86056649"""||||||||"""
"""||||||||||||"""#"""||||||||||||"""