Question
Making a string out of a string and an integer in Python
I get this error when trying to take an integer and prepend "b" to it, converting it into a string:
File "program.py", line 19, in getname
name = "b" + num
TypeError: Can't convert 'int' object to str implicitly
That's related to this function:
num = random.randint(1,25)
name = "b" + num
45 55228
45