Skip to main content
4 of 4
looks a bit better
frank
  • 991
  • 5
  • 10

Pyth, 16 bytes

V101p? %N/T5NK\E 

Try it online!

Verify it online!

Separated by ""

How it works:

V101p? %N/T5NK\E V101 - For 'N' in 0..100 ? %N/T5 - If N modulo (10÷5) (or N%2) is truthy... N - ...return N K\E - Otherwise, return 'E' (K here is just a separator) p - Print the result 
frank
  • 991
  • 5
  • 10