SW4 Codewars Exercises #6

Open
schaermicha1 wants to merge 5 commits from sw4_codewars_exercises into master
4 changed files with 17 additions and 0 deletions
Showing only changes of commit 5d7063afa2 - Show all commits

View File

@ -15,3 +15,7 @@ def export_csv_with_name_and_grade(student_name: str, grade: str):
]
solution[["Student_ID", "Class"]].to_csv("files/output.csv", index=False)
if __name__ == "__main__":
export_csv_with_name_and_grade("Bob", "A")

View File

@ -0,0 +1,8 @@
ID,Class,Grade
32155,English,A
32155,History,B
32155,Science,B
43226,English,C
43226,Math,A
43226,Science,A
43226,History,B
1 ID Class Grade
2 32155 English A
3 32155 History B
4 32155 Science B
5 43226 English C
6 43226 Math A
7 43226 Science A
8 43226 History B

View File

@ -0,0 +1,2 @@
Student_ID,Class
32155,English
1 Student_ID Class
2 32155 English

View File

@ -0,0 +1,3 @@
Name,Student_ID
Bob,32155
Ron,43226
1 Name Student_ID
2 Bob 32155
3 Ron 43226