key = "key_{}".format(i)
时间: 2023-10-05 17:05:58 浏览: 27
This line of code uses the format function to create a string that includes the value of the variable i. The resulting string will be in the format "key_i", where i is the value of the variable i.