The problem is, that your value i is an integer and the print-function takes a string as parameter. Therefore you need to cast your variable using the str() function.
Your code should look like this:
for i in range(999999999999999):
print ("sending messages no." + str(i))
Now, I encourage people to learn Python and so I am glad to help you out but next time, if you get a “TypeError: cannot concatenate ‘str’ and ‘int’ objects” maybe you should first check with Google (or any other place) what this error means, since it actually tells you that i is an integer and it cannot convert that to a string.
Cheers
solved some simple coding in python, don’t know what to do