Task 13 of 15 · 0 solved · 15 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

1.5 Strings — same word?

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Two variables hold the word pear, but the second is assembled while the program runs. Print whether they hold the same text.

Then print whether apple comes before banana alphabetically.

true
true

Careful: == would answer the first question wrongly.

Your solution