It is not accepting my code when I have typed it right


I have typed the right code in the window but it's showing this message:-

Oops, try again. It looks like you printed 'Python'--that's one of the original elements! Make sure to print your modified element.

But it's showing my modified element in the preview window. What Should I do?


Could you paste in your code so we can have a look :slight_smile:


Yeah sure! Here's my code:-

        $languages = array("HTML/CSS",
        "JavaScript", "PHP", "Python", "Ruby");
        echo $languages[1];
        $languages[1] = "AngularJs";
        echo $languages[1];
        // Write the code to modify
        // the $languages array!


Remove this line ^  


1st one or the other one


First one