

Could also compare against:
if not len(mylist)
That way this version isn’t evaluating two functions. The bool evaluation of an integer is false when zero, otherwise true.
Could also compare against:
if not len(mylist)
That way this version isn’t evaluating two functions. The bool evaluation of an integer is false when zero, otherwise true.
I did tell her. I haven’t noticed it since her hysterectomy, maybe it was the cysts.
Wait until you hear about inward singing! I can whistle inward too but not as well as outward (it takes a lot more air, and my range is reduced).
One time I had to wait in line behind this guy who had a very strong metallic odor, it was making me sick. I’ve smelled it a few times since and recently smelled it on my mother. Not sure if it’s a drug. Probably not fear. Very interesting though.
Nobody is judging you anymore. You’re free to live how you want to. Most people struggle to find a balance between working and life. So you’re not alone there.
I met this traveling nurse who spends fall, winter and spring working, and then spends summer traveling and hiking in the mountains. I met a teacher who does the same. There are many seasonal workers who put in a lot of work in a burst and then take time to themselves - firefighters, wine grape harvest, ski lift/resort.
Keep an open mind, and live simply. Keep few possessions which add a lot of value to your life. Think of what you want to do, then figure out how to get there. At least then if you are working a boring job, it is moving you toward your own goal.
Life is like a garden. If you want to sit around and curse at the thistles and weeds, you can, but they will continue to grow as you fixate on them. If you see beauty and follow it, then cultivate it, you will be in a beautiful garden. It’s not instantaneous, and it takes work. The work starts in your mind. Negative thoughts will blind you to good opportunities. If you don’t know where you’re going, any place will get you there. Maybe a good place to start is finding the tolerable humans, and see where it takes you.
But the first example does the same thing for an empty list. I guess the lesson is that if you’re measuring the speed of arbitrary stylistic syntax choices, maybe Python isn’t the best language for you.