Exam4Training

Which of the following lines of code will work flawlessly when put independently inside theadd_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 theadd_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

Exit mobile version