class A: def __init__(self, x, y): self.x = x self.y = yWhat is the output from these statements?
a = A(3, 5) # a b b = A(7, 9) # x y x y a.x += 2 # ====== ====== b.y += 4 # 3 5 7 9 a.y += 6 # 5 11 15 13 b.x += 8 # print(a.y, b.x)# Output: 11 15a. 5 15 b. 7 15 c. 9 15 *d. 11 15
a = [34, 86, 22, 97, 33] print(a.pop(1)) a.sort( ) a.append(50) a.reverse( ) print(a)a. [22, 33, 34, 50, 86, 97]
Person Student Secretary SeminarSpeaker Janitor Employee TeachingAssistant Professor DepartmentChair Course Seminar Lecture ComputerLab