A Professional’s Tutorial to Writing a Python Guessing Game

Junior capstone, having fun with Python, too!

Adam Ross Nelson

--

For an overview of these tutorials, click here (or click the image).

Welcome to seventh, in a series of tutorials that teach beginner Python specifically for aspiring data scientists. For an overview of these tutorials, click here.

Introduction

Data science often requires intricate algorithms, complex data manipulations, and the application of advanced statistical methods. However, the foundational skills revolve around and depend on basic programming principles.

One of the more classic introductory programming challenges you can work on in learning many programming languages is the number guessing game. This seemingly simple game offers an introduction to many fundamental concepts in Python programming.

A subsequent tutorial will introduce readers to a challenge that calls you to combine your knowledge of data types, flow control, and functions in a manner that is more closely related to data science: generating fictional data.

Two people with an all blue background. One person is whispering a secret in the other person’s ear.
Image Credit: Author’s illustration created in Canva.com.

This tutorial shows learners the process of creating a Python-based number guessing game. While the game…

--

--

Responses (1)