Assuming that the following assignment has been successfully executed: the_list = ["1", 1, 1. ] Which of the following e
Posted: Sun Jul 10, 2022 11:29 am
Assuming that the following assignment has been successfullyexecuted:
the_list = ["1", 1, 1.]
Which of the following expressions evaluate to True? (Select two expressions.)
a. len (the_list[0:2]) < 3
b. 1.1 in the_list[1:3]
c. the_list.index(“1”) in the_list
d. the_list.index(‘1’) == 0
the_list = ["1", 1, 1.]
Which of the following expressions evaluate to True? (Select two expressions.)
a. len (the_list[0:2]) < 3
b. 1.1 in the_list[1:3]
c. the_list.index(“1”) in the_list
d. the_list.index(‘1’) == 0