Question

What is the output for the below code MyList = ["New York", "London", "Paris", "New Delhi"] MyFile=open('output.txt','w')   for element in MyList:     print >>MyFile, element MyFile.close()

A New York Paris New Delhi London
B London Paris New Delhi New York
C New York London Paris New Delhi
D None of these
E All of these
Practice Next

Hey! Ask a query