What Will Be The Output Of The Following Python Codep Pre #1020
What will be the output of the following Python code?</p> <pre><code class="language-python" line="1"> str = input("Enter your input: "); print "Received input is : ", str </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Files - Python Files - Quiz No.2.
What will be the output of the following Python 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)]
Enter your input: [x*5 for x in range(2,10,2)] Received input is : [10, 30, 20, 40]
Enter your input: [x*5 for x in range(2,10,2)] Received input is : [10, 10, 30, 40]
None of the mentioned