Code: Select all
for x in range(0, 150, 1):
print("All work and no play makes Jake a dull boy. ", end = "")
When I executed it, the python console opened and it did exactly what I thought it would but I was shocked at how slow the loop ran. I mean the 150 lines printed in about 9 seconds. I had assumed that the loop would have been so lightning quick that I would not have even been able to see the lines rising on the screen. 20 years ago if I had done the same program in VB6 it would have been that lightning quick... so what gives? The computers now are waaaaay faster. I'm confused.