Examveda
Examveda

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)]

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


This Question Belongs to Python Program >> Files Handling In Python

Join The Discussion

Related Questions on Files Handling in Python