Changes between Version 3 and Version 4 of ProgrammingAnswerPotatoExercise
- Timestamp:
- Sep 4, 2017, 6:35:43 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProgrammingAnswerPotatoExercise
v3 v4 5 5 count=1 6 6 while (count<=7): 7 if (count==4): 8 print("more!") 9 else: 10 for r in range(0,count): 11 print(count, "potato, ", end="") 12 print("") 13 count+=1 7 if (count==4): 8 print("more!") 9 else: 10 print(count, end="") 11 for r in range(0,count): 12 print(" potato,", end="") 13 print("") 14 count+=1 14 15 print("score!") 15 16 }}}