StudySession
What output will the following Python code give us:list = [1, 2, 3]list2 = [4, 5]list.extend(list2)print(list)
1 year ago | [YT] | 57
@govardhand7046
Extend method is used to merge or combine two sets to form single set
1 year ago | 1
@dfopjdiojdodsjoaskofjsdofjosdj
thank you for the small quiz
1 year ago | 0
StudySession
What output will the following Python code give us:
list = [1, 2, 3]
list2 = [4, 5]
list.extend(list2)
print(list)
1 year ago | [YT] | 57