This isn’t IRL, though.
That’s pretty critical information. Lol.
Thank you.
Definitely not everywhere. I’m from the Midwest and I’ve never heard of sausages, cheap or otherwise, referred to as “lips and assholes” or “hooves and sawdust”. Lol.
But then with Python we can have more complex “formulas”. For example, we can say laugh = “Ho” * 3
Yeah, you can multiply a string. The result is that print(laugh) prints “HoHoHo”.
Okay, that’s just fucking cool. :3
That’s a good point! That is something I’ve noticed. Traditional mathematics uses PEMDAS, which is bidirectional, but Python uses…PEMDRAS, I guess, which is...bi-monodirectional(?), that is, left-to-right in all cases, except in the exception of variables which is right-to-left.
I swear this makes sense to me. My brain just thinks weirdly. Haha.
Oh!
I think I’ve not quite gotten to that part yet in the lesson. Lol.
But it’s good to know, so thanks for pointing that out! I’ll be sure to remember it when I get to that point. Haha.
Thanks!
That’s pretty cool. It’s almost like a…time-based Excel function! Lol.
That’s so cool! Thank you!
...I am confuzzled and slightly afraid. :|
So input(x) prints out x and then puts itself into a waiting mode of sorts, waiting for the user to supply a value, and then once it has that value it outputs that particular value.
Am I right?
I think I misworded my thoughts, to be honest.
As I understand it:
int(2.1) would print out 2 since it just converts it to an integer by truncating it.
float(2) would print out 2.0 since it just converts it to a floating-point value by appending a .0 to the end.
Oh! I get it now!
It’s because while int() and float() are instantaneous, while input() uses the fourth dimension, time, and thus depends on a future input by the user. (May not make sense the way I’m putting it, but it makes sense to me. Lol.) In other words, while float() and int() have all the data they need to produce an output (i.e. what’s in the parentheses), input() “outputs” the text in the parentheses, then puts itself into a pending state to await further user input, then outputs that second user input.
Am that about the right of it? :)
user_number = int(input(‘what’s the number?’))
But then what’s input('what's the number?')
result in? I understand int() and float(), but I can’t wrap my head around what exactly input
does to the text within the succeeding parentheses.
Edit: I get it now! Another user helped me understand it, and I get it now! Thank you for your help too! You’re awesome!
Gross.
Welp, I sure hope either we stay on the winning side of the cat-and-mouse game or a lot of creators jump ship to other emerging platforms (not that there are many), because it’d be a damn shame to have to stop watching some of the creators I enjoy watching. Many of them are damned talented folks IMHO.
I’ve heard good things about Nebula, but sadly a lot of the channels I watch are not quite on there yet. Also, I’m broke, so there’s that. Lol.
Wait, they have? I wonder how/if that would affect the functionality of apps like Newpipe/Freetube.
Never said they didn’t. I’m just sayin’.......I’ve never heard of it. shrug