# You cannot concatanate a string to an integer a = 'love' b = 1 print(a + b) # This will give a Type Error # So convert the integer to a string and then you can concatenate print(a + str(b))