Changes between Version 85 and Version 86 of ControlSystems/SoftwareTeam/IntroToPython
- Timestamp:
- Sep 4, 2017, 10:56:32 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/SoftwareTeam/IntroToPython
v85 v86 306 306 = Final Exam = 307 307 [[Image(1B6AA343-B7D4-49F7-88DA-2AB89A7A4E72-5482-00000452F115F905_tmp.png,left,10%,margin=5)]] 308 * '''Create a program that prints random fortune cookie sayings.''' 308 309 ''' * '''Create a program that prints random fortune cookie sayings.''' 309 310 * Randomly build the sayingss from at least three different lists of nouns and verb phrases. Make the random sayings sound suitably cryptic and wise. 310 311 * 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. 311 312 * Use functions and control structures to make the code manageable. Its best if you work in pairs for this exercise. 312 313 * 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. 313 [[br]] 314 [[br]] 315 [[br]] 316 [[br]] 317 [[br]] 318 [[br]] 319 [[br]] 320 321 = What's Next = 314 315 '''= What's Next = 322 316 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. 323 317