Md. Al-Amin Sabbir

@MdAlAminAlAmin (0) • Institute of Science Trade and Technology (ISTT), Main Campus
How to solve this problem?
posted to Ask by MdAlAminAlAmin

@vedprad1 I gave the same code but,
Traceback (most recent call last):
File "main.py", line 2, in <module>
print('The next number for the number ' + num + ' is ' + (num + 1) + '.')
TypeError: can only concatenate str (not "int") to str