0
- trafficLightsCount = 12
- bufferDist ='5 mi。 '
- intersectionCount = 20
- print'Found',trafficLightCount, 中的lightCount,buffer和'buffereDist'交叉點。
a='something'
b=12
c='Another thing'
print 'Found : ' + '{0},{1},{2}'.format(a,b,c)
你會得到輸出:Found : something,12,Another thing