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 Score
#1 EroticShiveringKingBanana avatar EroticShiveringKingBanana 84
#1 bizy-coder avatar bizy-coder 84
#3 sisyphus-ppcg avatar sisyphus-ppcg 87
#3 bizy-coder avatar bizy-coder 87
#3 MeWhenI avatar MeWhenI 87
#6 AlephSquirrel avatar AlephSquirrel 140
#7 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.
You must be logged in to submit a solution.