Beginners,using commands
Submitted by ahmetdincer on Wed, 2006-07-19 13:42.
Programming Crash Course
print
hi,
i m a beginner in programming and i really want to learn it i heard about python which is so powerfull. any suggestions
thank you for your time and efforts for that site
i dont understand the "for" command in loop in this example
print
print 'How many seconds each model takes to go from 0 to 60 mph'
print
# build a list of pairs (model, acceleration)
model_list = [('BMW Z4', 8.7), ('Audi TT', 8.6) , ('Mercedez CLK350', 8.8)]
# print for each model, its corresponding acceleration
#
for model, acceleration in model_list: WHERE WE FIND THE WORD MODEL AND ACCELERATION
print 'The', model, 'acceleration is', acceleration, 'seconds'