Code coach problem solution n=int((input())) l= m=" " for i in range(n): g=int(input()) l.append(g) s=l g=l[n-1] for i in range(s,g,1): if(i in l): continue else: m=m+str(i)+" " print(m)
Post the question please
n = int(input()) q =  for i in range(n): q.append(int(input())) print (" ".join([str(i) for i in range(min(q),max(q)) if i not in q ]))
you've got one point because you shared your code attempt, but you must describe both the code coach requirement and the problem you're facing, as well as tagging the question with the language used, even it's obvious that's it's python ;P (you can edit your question: avoid posting a duplicated thread, but once the question was updated, post in the thread to make us aware of edition)
What is indentations... ?
Application RAM usage