79361038

Date: 2025-01-16 09:49:37
Score: 1.5
Natty:
Report link

An element is created only if it is not present. For example, if the first list is [7,6,4,7,1,5], the second list is [7,6,4,1,5].

n=[]
for j in int(input()):
    n.append(int(input()))
l=[]
for o in n:
    if not o in l:
        l.append(o)
print(l)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Pin Beach2