Skip to main content
Brian McClain/1 min read

Python Programming Challenge #5 - Generate Random SAT Scores

Modern Web Dev Workflow

1

Set Up the Project

create-vite, create-next-app — scaffold with sensible defaults.

2

Build Components

Small, reusable, well-typed pieces.

3

Connect Data

Fetch from APIs, manage state, handle loading/errors.

4

Deploy

Vercel, Netlify, or your cloud of choice.

Master Python at Noble Desktop

Noble Desktop's Python Programming Immersive covers AI APIs, data analysis, and modern Python development.

In this challenge, you'll be using Python to generate random SAT scores for a theoretical student. Think you can handle it? Tune in to find out!

Starting File

Final File

Video Transcription

The next programming challenge is number five. Given a list of students, we have alphabetized names. Loop through the list generating pairs of random SAT scores for Math and Verbal. Scores must be in the 200-800 range and must end in a zero. To start, we need to import the random module. The expected output will be:

“Student SAT Scores: Aiming Math Score, Verbal Score”. Then, for each student, loop the list and generate a random number between 20 and 80 and multiply it by 10 to get a score in the 200-800 range that ends in a zero. Print the student name, math score, and verbal score. To get the total score, add the math and verbal scores together. That takes care of challenge number five.