MCQs > IT & Programming > Python > Output of the following Python code? lis1 =[2. 1. 3, 5] lisZ = [6, 4, 3] lis1.extend[lis2) print (end=') for i in range(0, len(lis1)): print(end=' ') lisl.clear() print (end=') for i in range(2. len(lis1)): print(lisl[i]+1. end=' ')

Python MCQs

What will be the correct output of the following Python code?

lis1 =[2. 1. 3, 5]

lisZ = [6, 4, 3]

lis1.extend[lis2)

print (end=")

for i in range(0, len(lis1)):

print(end=" ")

lisl.clear()

print (end=")

for i in range(2. len(lis1)):

print(lisl[i]+1. end=" ")


Answer

Correct Answer: 3 2 4 5 7 5 4

Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it