Skip to content

Instantly share code, notes, and snippets.

@lyntco
Created October 1, 2014 06:35
Show Gist options
  • Save lyntco/8617dfe338fcc65eab49 to your computer and use it in GitHub Desktop.
Save lyntco/8617dfe338fcc65eab49 to your computer and use it in GitHub Desktop.
Quiz 2 - Bob

Quiz - 2 Talk to Bob


Bob is a teenager. He doesn't say a lot.

When you ask him a question, he'll reply, "Yeah whatever man"

When you say a sentence, he'll reply, "Cool, bro"

When you yell at him he should reply "WOAH, CHILL OUT MAN"

If you say "Holla atcha lata", he'll reply "Laterz bruh" and the program will quit.

There should be looping input so you'll keep talking to Bob until you say "Holla atcha lata"

Extension


  1. When you start a sentence with "Bro," he'll talk to you in leetspeak.

  2. When you mention the word "grounded" he'll say "But I did my homework!"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment