Python: Simple Guessing Game

Lab Steps

lock
Web IDE Review
lock
Simple Guessing Game

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyBeginner
Time Limit45m
Students42
Ratings
5/5
starstarstarstarstar

Description

Build your Python skills by creating a basic console based guessing game.

Combine Python's language fundamentals to build a game that prompts player's to guess a number between 1 and 20.

The code used in this lab demonstrates some of Python's fundamental language features.

Features such as:

  • Importing modules
  • Function definitions
  • Loops
  • Conditionals
  • Operators

Prerequisites:

  • Familiarity with the Python runtime
  • Familiarity with the Python language syntax
  • Familiarity with callables
  • Familiarity with modules
  • Familiarity with built-in callables such as: int, input, and print

Target Audience

  • Novice Python Developers
About the Author
Students95767
Labs28
Courses44
Learning paths54

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered Topics