Back to tasks
An equation
BeginnerPython for kids 路 Lesson 13: Errors - reading the messages
Problem Statement
The program reports a TypeError because it glues a number to text:
print("1 + 1 =" + 2)
Fix the mistake so the program prints:
1 + 1 = 2
Output Format
Exactly the text from the example.
Examples
Example 1
Output
1 + 1 = 2