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()
The correct answer is C
Amit is the brother of Sonia. Jyoti is the sister of Nikita. Sonia is the daughter of Satish’s father. Nikita is the daughter of Kavinder. Jyoti i...
Pointing to a man in a photograph, Anitha said, "His mother’s only’ daughter is my mother.' How is Anitha related to that man?
Select the option in which the words share the same relationship as that shared by the given pair of words.
Wheel : Spoke
Select the number-pair in which the two numbers share a different relationship from that shared by the two numbers in the rest of the number-pairs.
Select the option in which the words share the same relationship as that shared by the given pair of words.
Clock : Time
P@Q’ means ‘P is brother of Q’. ‘P#Q’ means ‘P is sister of Q’. ‘P%Q’ means ‘P is married to Q’. ‘P!Q’ means ‘P is mother of...
Deepak introduces Raju saying, "He is the husband of the granddaughter of the father of my father." How is Raju related to Deepak?
If (A @ B) means A is son of B, (A & B) means A is mother of B, (A # B) means A is father of B, (A $ B) means A is sister of B. If H @ I & J # K $ L @ M...
Ravi's father Mahesh has a brother Mukesh who has a daughter Chavi. Vinayak is Chavi's brother. How is Vinayak related to Mahesh's mother?
Select the option in which the words share the same relationship as that shared by the given pair of words.
Lotus : Flower