Advertisement
pacho_the_python

Untitled

Feb 23rd, 2022
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. # 9, 10, 6, 4, 11, 9, 9, 10
  2.  
  3. digits = list(map(int, input().split(", ")))
  4. removed_list = []
  5.  
  6. result = [x for x in digits if x <= 6]
  7.  
  8. print(result)
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement