Jed Rembold
March 30, 2026

What is the printed value of the below code?
A = [
{'name': 'Jill', 'weight':125, 'height':62},
{'name': 'Sam', 'height':68},
{'name': 'Bobby', 'height':72},
]
A.append({'weight':204, 'height':70, 'name':'Jim'})
B= A[1]
B['weight'] = 167
print([d['weight'] for d in A if 'weight' in d])
[100,204]
[156,173,204]
[100,167,173,204]
[125,167,204]
grades.txt has student names
(first and last), then a comma, and then their current grade in a
classget_student_grade which prompts the user for
a student’s name and then prints out that student’s grade.get_students_with_grade which prompts the
user to type in a desired grade.Tweets.csv contains tweet data from
users