Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 9, 10, 6, 4, 11, 9, 9, 10
- digits = list(map(int, input().split(", ")))
- removed_list = []
- result = [x for x in digits if x <= 6]
- print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement