Skillsharebeginneren

Learn Python by Making a Higher & Lower Guessing Game!

Learn Python with a fun guessing game project! Perfect for beginners looking to practice their coding skills. Build a higher/lower game and boost your Python proficiency.

5.0(1)
15students
1h 24m
Certificate
James Clare
James ClareLearn Python with James!

Course Content

Learn Python by Making a Higher & Lower Guessing Game! is a beginner-level Skillshare course taught by James Clare. It runs 1h 24m, is taught in English, and includes a certificate of completion. Learners rate it 5.0 out of 5 from 1 review, with 15 students enrolled. It is a paid course, first published February 2023.

Boost your Python skills with a fun project: a Number Guessing Game! This course is perfect for those with basic Python knowledge who want to solidify their understanding by building a practical application. You'll learn to connect essential Python components in a hands-on way.

Here's what you'll master:

  • Data Types & Collection Types: Understand and utilize fundamental Python data structures.
  • Control Flow: Learn to control the program's execution with if/else statements.
  • Functions: Develop reusable code blocks for better organization.
  • Loops: Implement for and while loops for efficient repetition.
  • File Handling: Write data to files for persistent storage.
  • random Module: Generate random numbers for game mechanics.
  • User Input: Collect data from the user to personalize the game.

The Higher or Lower Guessing Game:

This classic game gets a Python upgrade! Users will input their name and define the range for the randomly generated number. Then, they'll enter a loop to guess the number, aiming for the fewest attempts possible.

The game tracks and logs the user's score, name, and number of attempts to a file, providing a record of their performance. This project offers valuable experience with user interaction and data persistence in Python.

Bonus: Explore Python date and time format codes to enhance your program's functionality.

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

5.0(33)
1h 50m
all
skillshare
5.0(1,224)
2h 39m
beginner
skillshare
5.0(250)
32m
all
skillshare