I didn't know that. Thanks!
Which distros, out of curiosity?
I didn't know that. Thanks!
Which distros, out of curiosity?
I really appreciate the effort! My dream is to eventually learn enough from free online courses to then take a certification test and then maybe I can get a job even though I don't have a degree. I fear my lack of a degree will doom that goal before I ever get a chance, but I have to take that chance, I feel. Also, I fucking hate customer service. Lol.
Honestly, I had a bunch of little confusions. I thought the input()
function was only a string until the user typed in a value when prompted, and then it became either an integer value or a floating-point value depending on what you typed in.
Thanks to Labna@lemmy.world and your other response, I understand that it is always a string regardless until you convert it after the fact.
Also, I meant to type an asterisk instead of a plus sign when typing over my code snippet into my post. Fixed now.
Also, to answer your last question, if I do h+r
or h*r
, I get "5010" for the former (which makes sense) and the standard "can't multiply sequence by non-int of type 'str'", which also makes sense to me now that I understand the above point.
Oh, I think I understand now.
Thank you for clarifying that to me!
But I thought the "value" doesn't exist until the end-user types in the value, due to the use of input()
. So it starts off as a string, then becomes whatever is typed in, which then gets filtered through the next line. So if I type 3
, it'll be considered as an integer, and likewise as a float if I type 3.00
.
Maybe. I'm busy right now.
I might do it later. Maybe I'll do it on
🎵 FRIDAY FRIDAY GOTTA GET DOWN ON FRIDAY 🎵
THANK you for the advice. I will keep that in mind. I might start writing today while I'm at work. :)
Lol, that's why I said yet. Give it another couple years; we might have started plasma cannons out of toothpicks and bra straps. Haha.
Wow, thanks for all the information! Very fascinating, I think. I enjoyed reading it! :)
That is a good example. Thanks.
One can only hope.
I work as a cashier at a dead-end retail store in a town of 5000. (Seriously, the closest reasonably large city is like 30 minutes away.) So I don't think there's much of an opportunity at my current workplace. Haha.
But you still make an excellent point and it sounds like a good starting-off point. Thank you!