Solution:
Hello Pal,
The problem happened when you write
print(5 + "a")
You’ve messed up with two different data-types. Python can’t add them together in a single print function. You can either change them both to numbers or change them both to strings. Your choice!
Either
print(5 + 2)
Or
print("5" + "a")
In the first example, we are printing the result of adding two integers. In the second example, we are printing the result of concatenating two strings.
Hope this helps! 