On September 1, 2022, GitHub Learning Lab will shut down.
Read more on the GitHub blog and check out GitHub Skills for courses backed by GitHub Actions.
See an up-to-date option for this page.

Intermediate Python

Learn how to create a dice-rolling app with Python!

Start free course Join 7581 others!

social preview
Learn how to create a dice-rolling app with Python!
Steps to complete this course 6
  1. Set up your project

    Introduces the project and how to set it up

  2. Running a Python program

    Run a python program with a main method

  3. Using Variables

    Define variables with random input to simulate a die-roll

  4. Rolling multiple Dice

    Roll multiple dice and add their results

  5. Adding Conditionals

    Add some flavor to your responses with conditionals

  6. Adding User Input

    Allow users to input the number and size of dice

Share Intermediate Python
Average time to complete

88 minutes


All public courses on Learning Lab are free.

Latest release

Users who took this course also took

What is GitHub Learning Lab?

Learn new skills by completing fun, realistic projects in your very own GitHub repository.

Ready to start learning?

Start Intermediate Python