Python, Python Programming, Coding, Web Developer, Code.
print(students[2] + ': ' + str(bob_grade)) grades() In this example, the Global Namespace contains the list of students, while the Local Namespace contains the grades for each student. The ‘grades()’ function prints out each student’s name and grade to the console. Because the students’ names are