MCQs > IT & Programming > Python > Read the following statements: >>> lst = ['spam','and','eggs'] >>> lst[2] = 'toast' >>> print ''.join(lst) >>> print ' '.join(lst) Which of the following is the output of the second print statement in the above code snippet?

Python MCQs

Read the following statements:

>>> lst = ['spam','and','eggs']

>>> lst[2] = 'toast'

>>> print ''.join(lst)

>>> print ' '.join(lst)

Which of the following is the output of the second print statement in the above code snippet?

Answer

Correct Answer: spam and toast

Explanation:

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