I have a Python Task for online course on Udacity although I put the right code for the task it still gives me that is wrong answer. Can any one tell me why??
You are required to complete the function unique_list(l). where "l" is a list of numbers. the function is expected to return the unique numbers in that list.
Example:
input :
[1,1,1,2,2,3,3,3,3,4,5,5,6]output:
[1,2,3,4,5,6]
no_list=[22,22,2,1,11,11,3,3,3,4,5,5,5,55,55,66]
def unique_list(l):
    l = list(set(no_list))
    l.sort()
    return l
print(unique_list(no_list))
l = list(set(no_list))
l.sort()
return l
this part is my answer the other is from udacity site
 
     
     
     
     
    