Advertisement
Guest User

Untitled

a guest
Feb 24th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. for each_entry in base:
  2. value_difference = base['value'] - payment['value']
  3. time_difference = base['timestamp'] - payment['timestamp']
  4.  
  5. if value_difference <= 0.1 and time_difference <= 0.1:
  6. #if the difference is small, then tell me the payment_id.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement