This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Challenge: Madlibs



At this point you are ready to try the Python Madlibs Challenge. The challenge consists of several tasks. Each task builds on the previous task and all tasks are attainable with basic Python knowledge.

Task

  1. Visit the P2PU Python Madlibs Challenge page
  2. Complete all of the challenge tasks
  3. You will then be eligible for a challenge badge!
  4. Post your success to this discussion board 
  5. Help your peers by providing feedback

Task Discussion


  • v4lent1na said:

    I created my first game and it actually works! All thanks to the step-by-step approach from the MadLibs Challenge! Here's the paste: http://pastebin.com/DFQnMCST.

    It was actually quite challenging to write, since I had to think about the story to tell and the commands to write. I had to run and try the program a number of times before it actually worked properly. But it was lots of fun and rewarding. smiley

    on Sept. 19, 2013, 1:47 p.m.
  • Wouter Tebbens said:

    I completed the madlibs challenge and made a game that runs, find it here: http://pastebin.com/RUWwxq9T

    on March 26, 2013, 7:21 a.m.

    Anonym said:

    I am away for a short period. I will endeavour to respond to your email when I return. If you don't hear from me in a couple of weeks or so, please send me a reminder.
    on March 26, 2013, 7:52 a.m. in reply to Wouter Tebbens

    Dennis Daniels said:

    This is a number guessing game, not a madlib... maybe you made a post error to pastebin?

    on March 26, 2013, 2:40 p.m. in reply to Wouter Tebbens

    Anonym said:

    I am away for a short period. I will endeavour to respond to your email when I return. If you don't hear from me in a couple of weeks or so, please send me a reminder.
    on March 26, 2013, 2:43 p.m. in reply to Dennis Daniels

    Wouter Tebbens said:

    Hi Dennis,

    you're right of course. As the challenge of "madlibs" was basically to write a simple game (without specifying how it had to be), I thought I could as well make a little bit more fun game, at least in my opinion. In any case, i think I touched the same or more python features that had been discussed. What do you think?

    on March 27, 2013, 11:38 a.m. in reply to Dennis Daniels

    Anonym said:

    I am away for a short period. I will endeavour to respond to your email when I return. If you don't hear from me in a couple of weeks or so, please send me a reminder.
    on March 27, 2013, 11:42 a.m. in reply to Wouter Tebbens
  • saravanan said:

    completed madlib challenge

    on Sept. 10, 2012, 4:17 a.m.
  • Shannon said:

    I made a python-lib that runs, I comment.

    on Feb. 8, 2012, 3:56 p.m.