What's wrong with this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's wrong with this code?

It's a code coach and it outputs the first character No numerals code coach https://code.sololearn.com/cfM0AcFpPHlh/?ref=app

26th Oct 2020, 3:27 AM
Martin Jefferson
Martin Jefferson - avatar
4 Answers
+ 2
Kevin ★ here is the code
26th Oct 2020, 6:20 AM
Martin Jefferson
Martin Jefferson - avatar
+ 2
Replace does not modify the original string, it returns a new string instead: s = s.Replace(..); Number 10 is also included in this challenge.
26th Oct 2020, 6:24 AM
Kevin ★
26th Oct 2020, 4:16 AM
Martin Jefferson
Martin Jefferson - avatar
0
You didn't link the code...
26th Oct 2020, 3:46 AM
Kevin ★