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

Đăng Khánh

New member
What will be the output of the following Python code?
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
 

Tìm kiếm

Back
Top