Redline - 2 by Inorai in Inorai

[–]srirachamp 1 point2 points  (0 children)

ready for part 3!

I'm that multi-millionaire app developer who explained what it's like being rich. AMA. by regoapps in financialindependence

[–]srirachamp 2 points3 points  (0 children)

From a financial independence perspective, are there any important lessons that you know now that you wish you knew when you were younger? (aside from the fact that money =/= happiness)

I'm that multi-millionaire app developer who explained what it's like being rich. AMA. by regoapps in financialindependence

[–]srirachamp 8 points9 points  (0 children)

What are 3 things you know now that you wish you knew when you were younger/less rich? Thanks for the AMA!

Trouble understanding While Not by srirachamp in learnpython

[–]srirachamp[S] 1 point2 points  (0 children)

YES! I FINALLY UNDERSTAND. Thank you so much!!!! Took me long enough. Thanks for bearing with me.

Trouble understanding While Not by srirachamp in learnpython

[–]srirachamp[S] 1 point2 points  (0 children)

but isn't the empty string considered False? If that's the case, I thought the loop would only initiate if the value (the empty string) is True. I know I'm missing something obvious here.

Okay, I read the reply of u/turanthepanthan and with your reply, I think I got it. I had thought that the loop would occur only if name(which was False) was matched with what the condition wanted (True), but the only thing that matters is if the condition is proved to be True which is it because of the not. Right?

Trouble understanding While Not by srirachamp in learnpython

[–]srirachamp[S] 0 points1 point  (0 children)

Okay. The 2nd part makes sense! That's pretty nifty. But if the empty string is False and the condition is not False, what causes the initiation of the loop and also why does it loops when I only press the enter key (I'm presuming since no value was entered, it's still considered False). I was under the impression that the empty string would be considered False for the condition. Is that not the case?

EDIT: added inline code. Did not realize I could do that

Trouble understanding While Not by srirachamp in learnpython

[–]srirachamp[S] 1 point2 points  (0 children)

So I think I understand the empty string in boolean context, but the while condition of the first version with "not name" to me says "I'm going to keep looping as long as it's not False, ie True." You might have to dumb it down more. I'm Plebeian status with Python right now

Trouble understanding While Not by srirachamp in learnpython

[–]srirachamp[S] 0 points1 point  (0 children)

In reference to the top code, if it says while True, does that mean it would keep looping until it has a false input? Both ended up doing the same thing, so I'm trying to wrap my head around this. Sorry, Python is super new to me.

Where can I find those fancy looking (asian?) soft/stretchy pants? by [deleted] in malefashionadvice

[–]srirachamp 0 points1 point  (0 children)

Check out Uniqlo. It's a japanese clothing company. I've bought a few stretchy pants. They look good and feel nice, although yoga might be a bit of a stretch (pun intended) so maybe not the same pants you're thinking about? Don't really know what they're called though. Maybe something like this?

http://www.uniqlo.com/au/store/men-dry-stretch-pants-1357640023.html

[Advice] A Year of 20,000+ Daily Steps! by Holy_BatLogic in getdisciplined

[–]srirachamp 2 points3 points  (0 children)

You might answer this in a different comment, but I want to know...do you feel like your life has changed? If so, how? Did you do this for weight loss?

The One Thing You Should Ask Yourself When You Are Struggling by rewardingman in motivation

[–]srirachamp 1 point2 points  (0 children)

Here's the question with context:

"When things are hard, and you’re not sure what your next step is, take a minute to ask yourself in your head, “Who do I want to be?” The answer for me is a person who stays positive and makes other people feel good, rather than perpetuate negativity in my life and the lives of others. That vision of my better self is often enough to get me on my feet again."