Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- problem_set = {2, 4, 7}
- support_set = {6, 5, 2}
- new_problem_list = list()
- new_support_list = list()
- for a, b in zip(list(problem_set), list(support_set)):
- print('compare:', a, 'with', b)
- new_problem_list.append( min(a, b) )
- new_support_list.append( max(a, b) )
- print(new_problem_list, new_support_list)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement