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

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

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • 3 4

Related Computer Questions

Which header file is used for the numeric limits in C++? When building from source, the embedded server library is enabled by ______ In which year Haykin gave a comprehensive survey of neural network techniques from an engineering perspective? The most common hamming codes are a generalized version of? A statement block is a