What is the output of this program? students = ([“John”, “Doe”], [“Jane”, “Smith”], [“Mike”, “Johnson”]) def print_student_info(students, student_index): print(‘Student name:’, students[student_index][0]) print(‘Student lastname:’, students[student_index][1]) print_student_info(students, 2) Student name: MikeStudent lastname: Johnson Student name: JaneStudent lastname: Smith Submit What is the output of this program? students = ([“John”, “Doe”], [“Jane”, “Smith”], [“Mike”, “Johnson”]) def print_student_info(students, student_index): … Continue reading Python Tuples Exercises
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed