about | help | code help+videos | done | prefs |
Given a string, compute recursively (no loops) a new string where all appearances of "pi" have been replaced by "3.14". changePi("xpix") → "x3.14x" changePi("pipi") → "3.143.14" changePi("pip") → "3.14p" ...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: 339.0
Copyright Nick Parlante 2017 - privacy