Parity Sequence

A challenge by MeWhenI avatar MeWhenI

Description

Your code should output the numbers from 1 to 100, inclusive. When only the even-indexed characters of your code are run (in other words, the odd-indexed characters are removed), it should output the even numbers from 1 to 100, inclusive. When only the odd-indexed characters of your code are run, it should output the odd numbers from 1 to 100, inclusive.

Leaderboard

Author Bytes
#1 EroticShiveringKingBanana avatar EroticShiveringKingBanana 84
#1 bizy-coder avatar bizy-coder 84
#1 plcc0 avatar plcc0 84
#4 sisyphus-ppcg avatar sisyphus-ppcg 87
#4 bizy-coder avatar bizy-coder 87
#4 MeWhenI avatar MeWhenI 87
#7 AlephSquirrel avatar AlephSquirrel 140
#8 Bulmenisaurus avatar Bulmenisaurus 143
Challenge ended 23 May 2025 ago
This challenge has ended. You are free to submit more solutions but they won't count for scoring.