Write apython function that takes alist of integer as input and return alist of all the integer

ds301222

1 Like

what is the issue in second line @dhanashrip930

lst = list(map(int(input("enter number in list separated by comma))):
print list()

1 Like

@dhanashrip930
Correct :100:

Print(lst) is correct syntax for print function.
And I suggest as per solution, please change the headings as write a python function that takes a list as input and return a list having unique elements only.