Vidyalelo
Python · Q51

Files Handling in Python

Programming · Python · question 51

Q51

What will be the output of the following Python code? str = input("Enter your input: "); print "Received input is : ", str

A.
Enter your input: [x*5 for x in range(2,10,2)]
Received input is : [x*5 for x in range(2,10,2)]
Answer
B.
Enter your input: [x*5 for x in range(2,10,2)]
Received input is : [10, 30, 20, 40]
C.
Enter your input: [x*5 for x in range(2,10,2)]
Received input is : [10, 10, 30, 40]
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board