Changes between Version 102 and Version 103 of ControlSystems/SoftwareTeam/IntroToPython


Ignore:
Timestamp:
Sep 4, 2017, 11:21:55 PM (8 years ago)
Author:
cdelgigante
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/IntroToPython

    v102 v103  
    308308[[br]]
    309309Feeling like you got this?  Awesome, then:  '''Create a program that prints random fortune cookie sayings.'''
     310[[br]]
    310311Here's what you need to do:
    311312[[br]]
    312 Randomly build the sayings from at least three different lists of nouns and verb phrases (Hint: Use the Python [[https://docs.python.org/3/library/random.html#|random]] functions, its available in the online editor). 
    313 [[br]]
    314 Make the random sayings sound suitably cryptic and wise.
    315 [[br]]
    316 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.
    317 [[br]]
    318 Use functions and control structures to make the code manageable. Its best if you work in pairs for this exercise.
    319 [[br]]
    320 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* Randomly build the sayings from at least three different lists of nouns and verb phrases (Hint: Use the Python [[https://docs.python.org/3/library/random.html#|random]] functions, its available in the online editor). 
     314[[br]]
     315* Make the random sayings sound suitably cryptic and wise.
     316[[br]]
     317* 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.
     318[[br]]
     319* Use functions and control structures to make the code manageable. Its best if you work in pairs for this exercise.
     320[[br]]
     321* 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.
     322[[br]]
    321323[[br]]
    322324(We'll only show you the answer to this one once you show us your solution.  Its a final exam after all...)