Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Text Output Programs

Python syntax and user input

  • Challenge 1: Create a new Python file in Trinket to try out the example commands
  • Challenge 2: Create your own question-answer conversation or mini-quiz game
  • Challenge 3: Create your own Echo Chamber

Number Guessing Game

  • Challenge 1: Read through the code
  • Challenge 2: Give the pirate your name
  • Challenge 3: Change the game to be guessing numbers between 1 and 200
  • Challenge 4: How many guesses should you give to make it hard but not impossible?

Multiplication Game

  • Challenge 1: Read the code to understand what is done so far
  • Challenge 2: Ask a random multiplication question
  • Challenge 3: Can you make it ask a series of 10 different questions?
  • Challenge 4: What would make it more fun? More levels? Difficulty controls?
  • If you want a timer, check out this example

Hailstone Sequence

  • Challenge 1: Write your own program that asks the user to enter a number and prints the hailstone sequence

Lists and Functions

  • Challenge 1: Create a new Python file in Trinket to try out the example commands

Silly Sentence Generator

  • Challenge 1: Add your own words to the verb list
  • Challenge 2: What other lists will you need to create?
  • Challenge 3: What other variables will you need to remember the random words?
  • Challenge 4: Can you print out a random sentence?

Coin Flip Simulator

  • Challenge 1: Finish the function to make the program work
  • Hint: Pick a random number and use if/else
  • Bonus challenge: how many coin flips does it take before you get 10 heads in a row?

Dice Roll Simulator

  • Challenge 1: Finish the function to make the program work
  • Challenge 2: how many rolls before you roll 12 twice in a row?
  • Bonus challenge: can you change the program to roll 3 dice? How many slots would you have to add to the array?

More: