<AptiCode/>

Question 412: What will be the output of the following code?for i in range(3): print(i)

tcs
wipro
infosys
general
aptitude
loops

Therange(3)generates values 0, 1, and 2, and theforloop iterates over these values, printing them.