Question: just give me the python code this is just using the sort function so the function must be used something like diff _ list.sort (

just give me the python code
this is just using the sort function so the function must be used something like
diff_list.sort()
Goal: Learn to combine different list methods.
Assignment: Given the lists list_1 and list_2, create a new sorted list consisting of all the elements of list_1 that do not appear in list_2. Make sure that duplicate items only appear once. Assign this new list to diff_list. Make sure to use the sort function.
just give me the python code this is just using

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!