adplus-dvertising
frame-decoration

Question

What is the output of this program?
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)].

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

Posted under Python

Answer: (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)].

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program?