Can you please explain me how exactly are functions called and which functions are called sequentially and how numbers are generated and a list is formed when we write y=range(5)?
I understood how numbers are generated using next() function and all but was not able to predict the exact working of the above?