Skip to main content
3 of 4
deleted 3 characters in body
frank
  • 991
  • 5
  • 10

Pyth, 16 bytes

V101p? %N/T5N]\E 

Try it online!

Verify it online!

How it works:

V101p? %N/T5N]\E V101 - For 'N' in 0..100 ? %N/T5 - If N modulo (10÷5) (or N%2) is truthy... N - ...return N ]\E - Otherwise, return the one-element list 'E' p - Print the result 
frank
  • 991
  • 5
  • 10