This forum is now read-only. Please use our new forums! Go to forums

0 points
over 9 years

Help with my code?

I’m supposed to sort and rsort the array but when i click sumbmit it says make sure your rsort has at least three elements in them? My code:

Answer 53c48ad952f8635d31003209

2 votes

Permalink

Hello, on the line:

print join(":", $the_array);

use "," instead of ":", that is, use a comma instead of a colon.

Please make the suggested modification and refresh the web page.

points
Submitted by Gabriel La Rotta
over 9 years

1 comments

Thank you so much, in the example it used a colon that’s why I used it and it never came to my mind to change it to a comma