daily pastebin goal
21%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 62 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. for m in movie:
  2.     u = int(m['up'])
  3.     d = int(m['down'])
  4.     if d == 0:
  5.         d = 1
  6.  
  7. # s is score
  8. s = d/(u+d)
  9. s = int(s*1000)
  10. s = 1000 - s
  11. s = (s//2)
  12. s = -(-s//100)
  13.  
  14. ★★★☆☆3 (14/10) 
  15. ★★★☆☆3 (43/33)
  16. ★★★☆☆3 (8/8)
  17. ★★★★☆4 (3/1)
  18. ★★☆☆☆2 (2/4)
  19. ☆☆☆☆☆0 (0/2)
  20. ★★★☆☆3 (3/3)
  21. ☆☆☆☆☆0 (0/1)
  22. ★★★☆☆3 (2/2)
  23. ★★★★☆4 (7/3)
  24. ★★★★☆4 (3/1)
  25. ★★★☆☆3 (4/4)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top