“{}”.format() >>> num = 42>>> str_num = "{}".format(num)>>> print(str_num)'42' str >>> num = 42>>> str_num = str(num)>>> print(str_num)'42'