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

What will be the output of the following Python code? i = 5 while True: if i%0O9 == 0: break print(i) i += 1

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • error

Related Computer Questions

How will you implement dynamic arrays in Java? Running key cipher is an example of ______ If you want to convert a symbol or several lines of text into an AutoCorrect entry, you should: ______ function is used for reading the .csv file in R language. What will be the output of the following Python code? class Demo: def __new__(self): self.__init__(self) print("Demo's __new__() invoked") def __init__(self): print("Demo's __init__() invoked") class Derived_Demo(Demo): def __new__(self): print("Derived_Demo's __new__() invoked") def __init__(self): print("Derived_Demo's __init__() invoked") def main(): obj1 = Derived_Demo() obj2 = Demo() main()