Đăng Khánh
New member
What will be the output of the following Python code?
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
Code:
str = input("Enter your input: ");
print "Received input is : ", str
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