for i in range(4):
cars = input("Please enter car number 1")
However, what I am trying to do is have it so each time the for loop runs, it increases the car number. I.E. "please enter car number 1" and then "please enter car number 2" the next time around. I tried having cars = input("Please enter car number %d") %i but that didn't seem to work. I just can't figure out how to do it. Any help would be greatly appreciated!
Thanks.

New Topic/Question
Reply



MultiQuote





|