这是我的python代码:
...
grasses_time = {(0, 0): 0}
last_position = (0, 0)
print last_position[0]
distance_restrictions = []
for time_p in range(len(fjstr)):
time = time_p + 1
direction = fjstr[time_p]
last_position_x = last_position[0]
last_position_y = last_position[1]
...
在last_position_x = last_position[0]
中,pycharm会发出以下警告:
有人可以解释一下吗?