Changes between Version 83 and Version 84 of ControlSystems/SoftwareTeam/IntroToPython
- Timestamp:
- Sep 4, 2017, 10:53:13 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/IntroToPython
v83 v84 306 306 = Final Exam = 307 307 [[Image(1B6AA343-B7D4-49F7-88DA-2AB89A7A4E72-5482-00000452F115F905_tmp.png,left,10%,margin=20)]] 308 309 * Create a program that prints a random fortune cookie saying. 310 * Randomly build the says from at least three different lists of nouns and verb phrases. Make the random sayings sound suitably cryptic and wise. 308 * '''Create a program that prints random fortune cookie sayings.''' 309 * Randomly build the sayingss from at least three different lists of nouns and verb phrases. Make the random sayings sound suitably cryptic and wise. 311 310 * The program should prompt the user for the number of sayings they want output, validate that it is indeed a number, and print out that many. 312 311 * Use functions and control structures to make the code manageable. Its best if you work in pairs for this exercise. 313 312 * If you need help, refer to this lesson, the [[https://docs.python.org/3/index.html | Official Python 3 Documentation]], and don't hesitate to ask the mentors. 314 313 314 315 316 317 318 315 319 = What's Next = 316 320 Well that concludes the Software Introduction. We welcome your feedback. Software takes a lot of work and study to write well, and this is just a taste. For those of you who select the Software team, we'll begin intermediate training with the Raspberry Pi, and show you how to write programs that use external libraries to communcation with the outside world through motors, sensors and the like.