Answered step by step
Verified Expert Solution
Question
1 Approved Answer
subject : Computer Science QUESTION : The dataset file in assets / grades . txt contains a line separated list of people with their grade
subject : Computer Science
QUESTION :
The dataset file in assetsgradestxt contains a line separated list of people with their grade in a class. Create a regex to generate a list of just those students who received a B in the course
: import re
def grades:
with open assetsgradestxtr as file:
grades file read
# YOUR CODE HERE
raise NotImplementedError
: assert len
Grades :
Ronald Mayr: A
Bell Kassulke: B
Jacqueline Rupp: A
Alexander Zeller: C
Valentina Denk: C
Simon Loidl: B
Elias Jovanovic: B
Stefanie Weninger: A
Fabian Peer: C
Hakim Botros: B
Emilie Lorentsen: B
Herman Karlsen: C
Nathalie Delacruz: C
Casey Hartman: C
Lily Walker : A
Gerard Wang: C
Tony Mcdowell: C
Jake Wood: B
Fatemeh Akhtar: B
Kim Weston: B
Nicholas Beatty: A
Kirsten Williams: C
Vaishali Surana: C
Coby Mccormack: C
Yasmin Dar: B
Romy Donnelly: A
Viswamitra Upandhye: B
Kendrick Hilpert: A
Killian Kaufman: B
Elwood Page: B
Mukti Patel: A
Emily Lesch: C
Elodie Booker: B
Jedd Kim: A
Annabel Davies: A
Adnan Chen: B
Jonathan Berg: C
Hank Spinka: B
Agnes Schneider: C
Kimberly Green: A
LolaRose Coates: C
Rose Christiansen: C
Shirley Hintz: C
Hannah Bayer: B
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started