{'name':?'Sam'}]
height=0
n=0
for?i?in?range(len(people)):
n=n+1
height=people[i].get('height')+?height?
else:
#過程性編程方式