0

I'm learning currently R. But my solution for the Code Project in the chapter "Programming in R" does not Work. Why so?

https://code.sololearn.com/cQZGZXwQ0DeU/?ref=app

18th Mar 2022, 3:25 PM
Daniel
5 Antworten
+ 3
You seem to have put a character that cannot be displayed in line 4. Remove it.
19th Mar 2022, 9:33 AM
Lisa
Lisa - avatar
0
Change line 8 to res <- res + n
18th Mar 2022, 8:11 PM
Simon Sauter
Simon Sauter - avatar
0
Thanks for your input. I tried both of your ideas, but it still doesn't work. Anyone more ideas?
19th Mar 2022, 7:48 AM
Daniel
0
Yeah... Now it works. Many Thanks to everybody, especially to Lisa
19th Mar 2022, 11:24 AM
Daniel