So i just started Python but encountered a problem.
Pycharm won't print values and numbers at the same time. Example:
Age = 45 print("He was" + Age) Result: TypeError: can only concatenate str (not "int") to str
If I save the Age as a string it does work tho. Age = "45" print("He was" + Age) Result: He was 45
Any idea why this ocurrs ?