How can I concatenate a string and a number in Python? [duplicate] April 22, 2023 by Tarik Python is strongly typed. There are no implicit type conversions. You have to do one of these: "asd%d" % 9 "asd" + str(9)