Typing in code (Learning R)

Hello. How do you know which line to put the code in? I put in the exact same answer for a vector example in line 4 but it was wrong and when I checked the solution I had the same answer, just in the wrong spot…


Hello @pattypatpat69, welcome to the forums! In R (in the CodeCademy lessons, and I think other .Rmd files), you put your code between the back ticks:

Thank you so much!


1 Like