TypeError: can only concatenate str (not "VariableScope") to str

Please follow this link to see the problem
Thank you

Hi @Osama_Ismail, This error generally occurs when you try to concatenate a string and int data type. For example

name = "apple"
price = 30

out = name + price #gives TypeError: can only concatenate str (not "int") to str

make sure that you convert the int to string and then can concatenate.

out= name + str(price)

Thank You.