Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def missing_numbers(list, n):
- missing=[]
- for i in range(1,n+1):
- if i not in list:
- missing.append(i)
- return missing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement