FaisalAhemdBijoy

graphics sam

Mar 1st, 2021
400
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import hashlib,math
  2. roll="1607048"
  3.  
  4. hash=hashlib.md5(roll.encode())
  5. print("md5 hash is: ")
  6. out=hash.hexdigest()
  7.  
  8. print(out)
  9. d0=int(out[-1],16)
  10. print("d0 is :", d0)
  11. d1=int(out[-2],16)
  12. print("d1 is :", d1)
  13. d2=int(out[-3],16)
  14. print("d2 is :", d2)
  15. d3=int(out[-4],16)
  16. print("d3 is :", d3)
  17. d4=int(out[-5],16)
  18. print("d4 is :", d4)
  19. d5=int(out[-6],16)
  20. print("d5 is :", d5)
  21. x1=max((d0+d3)%(max(d0,d1,d2)),2)
  22. y1=max((d1+d4)%(max(d2,d3)),2)
  23. z1=max((d2+d5)%(max(d4,d5)),2)
  24. print("x0 : ",x1+1)
  25. print("y0 : ",y1+1)
  26. print("z0 : ",min(3*z1,z1+9))
  27. print("x1 : ",x1)
  28. print("y1 : ",y1)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×