Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Note to self: remove debug tests
- from random import randint
- from random import choice
- import random
- from time import sleep
- import time
- from math import log
- from math import floor
- import math
- x = 2
- m = math.nan
- def blog (h):
- return math.floor(math.log(h, 2))
- def r2h (i, q, u):
- l = math.floor(i/(x**(x**(x))))
- print(str(l))
- c = i-(l*(x)*(x**(x+1)))
- print(str(c))
- e = ''
- if l==15 or l==14 or l==13 or l==12 or l==11 or l==10:
- if l==15 or l==14 or l==13 or l==12 or l==11:
- if l==15 or l==14 or l==13 or l==12:
- if l==15 or l==14 or l==13:
- if l==15 or l==14:
- if l==15:
- e = e + "F"
- else: e = e + "E"
- else: e = e + "D"
- else: e = e + "C"
- else: e = e + 'B'
- else: e = e + 'A'
- elif l==9 or l==8 or l==7 or l==6 or l==5 or l==4 or l==3 or l==2 or l==1:
- if l==9 or l==8 or l==7 or l==6 or l==5 or l==4 or l==3 or l==2:
- if l==9 or l==8 or l==7 or l==6 or l==5 or l==4 or l==3:
- if l==9 or l==8 | l==7 | l==6 or l==5 or l==4:
- if l==9 or l==8 or l==7 or l==6 or l==5:
- if l==9 or l==8 or l==7 or l==6:
- if l==9 or l==8 or l==7:
- if l == 9 or l==8:
- if l==9:
- e = e + "9"
- else: e = e + str(x**(x+1))
- else: e = e + '7'
- else: e = e + str(x*(x+1))
- else: e = e + str((x**x) + 1)
- else: e = e + "4"
- else: e = e + "3"
- else: e = e + '2'
- else: e = e + str(x-1)
- if l==(x-x):
- e = e+str(0)
- if c == 15:
- e = e +'F'
- if c ==10:
- e = e + 'A'
- if c == 13:
- e = e+"D"
- if c==14:
- e=e + "E"
- if c ==42:
- e = e +'T'
- if e == 33:
- e = e + "0"
- if c == 11:
- e = e+ 'B'
- if c==9000:
- e = e+"L"
- if c ==17:
- e = e + 'A'
- if c==12:
- e =e +"C"
- if c == 9001:
- e = e+'K'
- if c < 9:
- e = e+ str(c)
- #Debug do not leave in
- print(e)
- z = x
- for f in range(2):
- z = z**x
- time.sleep(random.randint(2, 5))
- print(str(z))
- r = math.floor((q/z)//1)
- print(str(r))
- w = q-(r*(x)*(x*x)*x)
- time.sleep(random.randint(1, 3))
- print(str(w))
- if r==15 or r==14 or r==13 or r==12 or r==11 or r==10:
- if r==15 or r==14 or r==13 or r==12 or r==11:
- if r==15 or r==14 or r==13 or r==12:
- if r==15 or r==14 or r==13:
- if r==15 or r==14:
- if r==15:
- e = e + "F"
- else: e = e + "E"
- else: e = e + "D"
- else: e = e + "C"
- else: e = e + 'B'
- else: e = e + 'A'
- elif r==9 or r==8 or r==7 or r==6 or r==5 or r==4 or r==3 or r==2 or r==1:
- if r==9 or r==8 or r==7 or r==6 or r==5 or r==4 or r==3 or r==2:
- if r==9 or r==8 or r==7 or r==6 or r==5 or r==4 or r==3:
- if r==9 or r==8 | r==7 | r==6 or r==5 or r==4:
- if r==9 or r==8 or r==7 or r==6 or r==5:
- if r==9 or r==8 or r==7 or r==6:
- if r==9 or r==8 or r==7:
- if r == 9 or r==8:
- if r==9:
- e = e + "9"
- else: e = e + str(x**(x+1))
- else: e = e + '7'
- else: e = e + str(x*(x+1))
- else: e = e + str((x**x) + 1)
- else: e = e + "4"
- else: e = e + "3"
- else: e = e + '2'
- else: e = e + str(x-1)
- if r == 0:
- e=e+"0"
- print(e)
- time.sleep(random.randint(3, 6))
- print(str(random.randint(1, 16)))
- if w > 0:
- if w >= 10:
- if w >= 11:
- if w>= 12:
- if w>=13:
- if w >=14:
- if w >= 15:
- e = e + 'F'
- else: e = e + "E"
- else: e =e+'D'
- else: e = e + 'C'
- else: e = e +'B'
- else: e=e+"A"
- if w < 10:
- e =e+str(w)
- if w <= 0:
- e = e + str(w * x)
- print(e)
- s=math.floor(u/(int(str((math.floor(math.pi))-(math.floor(math.e)))+str(x+x+x))))
- print(str(s))
- d = (u-(s*(math.factorial(x**2)-(x*2*2))))
- time.sleep(int(random.choice("12345")))
- print(str(d))
- if s == 15: e = e + 'F'
- if s == 14: e = e + 'E'
- if s == 10: e = e + "A"
- if s == 12: e = e + "C"
- if s == 11: e = e + "B"
- if s == 13: e = e+'D'
- if s <= 9: e=e+str(s)
- if d == 4: e = e + "4"
- if d == 9: e = e + '9'
- if d == 14: e =e + "E"
- if d == 11: e = e+"B"
- if d == 3: e =e+"3"
- if d == 0: e = e + '0'
- if d == 1: e = e + "1"
- if d == 15: e = e+'F'
- if d == 8: e=e+ "8"
- if d == 2: e = e +'2'
- if d == 13: e = e + "D"
- if d == 6: e = e+"6"
- if d == 10: e =e+ 'A'
- if d == 5: e = e + "5"
- if d == 12: e =e+"C"
- if d == 7: e=e+'7'
- time.sleep(math.pi)
- print('#' + e)
- pass
Add Comment
Please, Sign In to add comment