Strings and How to Use Them
Chapter Quiz Question 4
println(s"3 + 2 = ${3 + 2}")
Anshwer shoud be 3 + 2 = 5 but it says correct answer 5
Strings and How to Use Them
Chapter Quiz Question 4
println(s"3 + 2 = ${3 + 2}")
Anshwer shoud be 3 + 2 = 5 but it says correct answer 5
Hi Vikram,
You are right, the answer should be 3 + 2 = 5. I have made the required changes to the question. Thank you for pointing this out.
We hope Educative has inspired to further your learning, and please drop us a note if you have any other questions or concerns.
Best regards,
Fatima Bashir
Developer Advocate