educative.io

Educative

Error in Quiz case

The quiz in the “iterating over strings” should be print! not println!.

Hi Maxim,

This is Anum from Educative. Thank you for reaching out to us.

If print! the output should be on the same line, and if println!, the string before the semicolon should be on 1 line and the after the semicolon should be on the next. Here in this case, since the correct option is A so println! is used.

Again, thank you for your valuable feedback! If you have any further queries, please let us know.

Happy Learning! :slight_smile:

Best Regards,

Anum Hassan
Developer Advocate
Educative.io