TheAceHome

Untitled

Oct 7th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. x=[i for i in range(1,61)]
  2. y=[i for i in range(1,61)]
  3. n=0
  4. N=0
  5. for _ in x:
  6. for p in y:
  7. N+=1
  8. if (_ + 10 > p) and (p + 12 > _):
  9. n += 1
  10. print(n,N)
Advertisement
Add Comment
Please, Sign In to add comment