Changes between Version 42 and Version 43 of ControlSystems/SoftwareTeam/IntroToPython
- Timestamp:
- Sep 4, 2017, 6:52:46 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/IntroToPython
v42 v43 175 175 What does it output? See how the indenting works when nesting? Note that `count+=1` is shorthand for `count=count+1` because not typing those excess characters __could save your life__. 176 176 177 Now, modify the code to make it repeat the word potato each time based on the current value of count . For example:177 Now, modify the code to make it repeat the word potato each time based on the current value of count, and run it. When you're done, the output should look like: 178 178 179 179 {{{