Python Programming Challenge #5 - Generate Random SAT Scores

Free Video Tutorial and Guide

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 - https://www.dropbox.com/s/nfiw8otzw0fe2ww/Noble%20Desktop%20Python%20Challenges%20Starting%20Files.ipynb?dl=1

Final File - https://www.dropbox.com/s/7zemrs0amnqcvcu/Noble%20Desktop%20Python%20Challenges%20Final%20Files.ipynb?dl=1

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-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.

How to Learn Python

Master Python with hands-on training. Python is a popular object-oriented programming language used for data science, machine learning, and web development. 

Yelp Facebook LinkedIn YouTube Twitter Instagram