SHARE
TWEET

Untitled

a guest May 23rd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random
  2. while True:
  3.     n2=random.randint(110,190)/100
  4.     x1 = random.randint(1,6)
  5.     y1 = random.randint(1,6)
  6.     x2 = random.randint(1,6)
  7.     y2 = random.randint(1,6)
  8.     s1 = x1/(x1**2+y1**2)**0.5
  9.     s2 = x2/(x2**2+y2**2)**0.5
  10.     n1 = n2*s2/s1
  11.     s = str(n2)
  12.     if 1.01<=n2<=1.9 and n1<n2 and x1*y2 != x2 *y1 and s[4:7]=="000":
  13.         print(x1, y1, x2, y2, n1, n2)
  14.         break
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