str()方法使Python将非字符串值表示为字符串:

age = 23

message = "Happy" + str(age) +"rd Birthday"