Advanced printing

The school is trying to create a schedule for students and they decide to divide the days of the week into odd and even days.
  • Even: Saturday, Monday, Wednesday, and Friday
  • Odd: Sunday, Tuesday, and Thursday
The school asks you to print the odd days first, separated by a %% sign, and even days afterward on the same line, separated by a $_$ sign. Odd and even days should be separated by a ... sign.
Can you do this with only 2 print statements by making use of both sep and end?


Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in