Python: Blackjack Lab

Lab Steps

lock
Web IDE Review
lock
Lab Intro
lock
Supporting Code
lock
Game Logic
lock
Summary

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyBeginner
Time Limit3h
Students62
Ratings
5/5
starstarstarstarstar

Description

Build upon your Python skills by creating a console based blackjack game.

Create a single player console based card game. Once built, compete against the dealer to achieve wealth, fame, and glory.

The code used in this lab demonstrates many useful Python language features.

Features such as:

  • Classes
  • Functions
  • Magic methods
  • List comprehensions
  • Collections
  • String formatting
  • Exception handling
  • Doctests

Prerequisites:

  • Familiarity with the Python runtime
  • Familiarity with the Python language syntax
  • Familiarity with callables
  • Familiarity with classes

Target Audience

  • Python Developers
About the Author
Students95913
Labs28
Courses46
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