Home / MCQ Bank / Computer
Computer Conditional Formatting (While And For Loops)

What will be the output of the following Python code? x = (i for i in range(3)) for i in x: print(i)

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • 0 1 2

Related Computer Questions

What is the function of CTRL+P in Microsoft Word? Which of the following will take the element out of normal flow? For _________ data to be useful, both the sender and the receiver need to be able to read and use the data. Loss in precision occurs for typecasting from______ A preprocessor command