Skip to content

Commit

Permalink
Basic
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjanaPurbia authored Sep 21, 2021
1 parent e027ef6 commit 71fca71
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions list.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
x=[]
lst=input("Enter list elements:")
def number(x):
for i in lst:
if i not in x:
x.append(lst)
return x
print(number(lst))

0 comments on commit 71fca71

Please sign in to comment.