Which of the following would properly create a new student?

class Student:
def __init__(self, name, gpa, grade):
self.name = name
self.gpa = gpa
self.grade = grade

(1 point)
Responses

s1 = Student(self,“Jorge”, 3.4, 12)

s1 = Student(self,“Jorge”, 3.4, 12)

s1 = Student(“Jorge”, 3.4, 12)

s1 = Student(“Jorge”, 3.4, 12)

s1 = Student( “Jorge”, 12)

s1 = Student( “Jorge”, 12)

s1 = Student(3.4, “Jorge”, 12)

The correct answer is: s1 = Student(“Jorge”, 3.4, 12)

The correct response to create a new student would be:

s1 = Student("Jorge", 3.4, 12)

The correct statement to create a new student object would be:

s1 = Student("Jorge", 3.4, 12)

Explanation:

To create a new student object using the provided Student class, you need to call the class's constructor, which is defined by the __init__ method. The __init__ method takes three arguments: name, gpa, and grade, which represent the student's name, GPA, and grade level, respectively.

In the correct statement, we pass the values "Jorge", 3.4, and 12 as arguments to the constructor in the correct order. This aligns with the order of the parameters defined in the __init__ method: name, gpa, and grade.

Therefore, the correct statement to create a new student with the name "Jorge", a GPA of 3.4, and in 12th grade is:

s1 = Student("Jorge", 3.4, 12)