Python: Simple Guessing Game
Lab Steps
The hands-on lab is part of this learning path
Ready for the real environment experience?
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
, andprint
Target Audience
- Novice Python Developers
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.