Question: please solve and provide code in python this is my code but apparently its wrong Question Goal: Learn to combine different list methods. Assignment: Given

please solve and provide code in python
this is my code but apparently its wrong
Question
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 1ist_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.
```
def find_difference(list_1, list_2):
diff_list =[]
for item in list_1:
if item not in list_2 and item not in diff_list:
diff_list.append(item)
diff_list.sort()
return diff_list
```
Feedback - Execution
More information
No output.
Feedback:
\(\varnothing \) Expected variable 'diff_list' to exist
please solve and provide code in python this is

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!