18
My first Python script tried to print 'Hello World' 100 times and crashed my browser
I was following a tutorial that said to use a simple loop, but I accidentally wrote it to run forever instead of stopping at 100. I learned to always double-check my loop conditions before hitting run. Has anyone else had a simple script go totally wrong like that?
3 comments
Log in to join the discussion
Log In3 Comments
mila_campbell2511d ago
Ever crashed your IDE too?
7
kellyjones10d ago
Oh man, only about a hundred times. The worst is when it happens before you save. Learned the hard way to save constantly, like after every little change. Now I just hit that save shortcut without even thinking. Auto-save features are a lifesaver too, if your IDE has it turned on.
2