about | help | code help+videos | done | prefs |
Given a number, return it. Except if the number is 42. In that case, return -1. allBut42(5) → 5 allBut42(42) → -1 allBut42(41) → 41 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy