SHARE
TWEET

I don't know ???

furas Jul 2nd, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. problem_set = {2, 4, 7}
  2. support_set = {6, 5, 2}
  3.  
  4. new_problem_list = list()
  5. new_support_list = list()
  6.  
  7. for a, b in zip(list(problem_set), list(support_set)):
  8.     print('compare:', a, 'with', b)
  9.    
  10.     new_problem_list.append( min(a, b) )
  11.     new_support_list.append( max(a, b) )
  12.  
  13. print(new_problem_list, new_support_list)
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top