Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- seq_of_nums = raw_input("Give me the sequence of numbers comma separated:")
- seq_of_nums = seq_of_nums.split(",")
- numbers = [x for x in seq_of_nums if int(str(x))%2!=0]
- print ",".join(numbers)
Advertisement
Add Comment
Please, Sign In to add comment