A Professional’s Tutorial to Writing a Python Guessing Game
Junior capstone, having fun with Python, too!
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.
This tutorial shows learners the process of creating a Python-based number guessing game. While the game…