+ and * change with the data type

Predict the output · Basic · §2.3 Strings

Predict the three lines of output without running the code.

Code

print(2 + 3)
print("2" + "3")
print("2" * 3)

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.