标签: list
Can anybody explain what that avg rating line does & what is the use of apps_data[0][-1].... what does this [-1] do
答案 0 :(得分:0)
list [-1]返回列表的最后一个元素,例如
array = [1,2,3] print array[-1] # outputs 3