Which of the following lines of code will work flawlessly when put independently inside the add_new () method in order to make the snippet’s output equal to [0, 1, 1]? (Select two answers)

Which of the following lines of code will work flawlessly when put independently inside the add_new () method in order to make the snippet’s output equal to [0, 1, 1]? (Select two answers)

A . put self.store(1])
B . self put stire(1])
C . self .put self.get () [-1])
D . self .put (self.store[1])

Answer: B,D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments