![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.blahaj.zone/pictrs/image/fwrQkf9edg.png)
What the fuck why is this so funny
What the fuck why is this so funny
That’s some impressive cognitive dissonance, to say opposing oppression and “might makes right” is equivalent to opposing the civil rights movement
Removed by mod
So what it comes down to is that int()
, float()
, and input()
(as well as print()
) are functions that you are calling. In the case of int()
and float()
, they return (simply put, when you make a function call it “becomes” the return value) an int
or float
type object based on the argument (the value between the parentheses) that you passed in. In the case of print()
, it causes the program to print out the provided argument.
input()
is a little more complicated. It prints out the provided argument (in your case: Who are you?
) and then puts the program on pause while it waits for the user to input some text and press enter. Once they have done so, the input
function returns the text the user has entered. So as mentioned before, the code input('Who are you? ')
“becomes” the text the user input, which then gets assigned to the variable nam
.
I think where you may be getting confused is what exactly defines “text”. The only things that python considers text (referred to as a string
) are characters surrounded by “” or ‘’. In your example, input('Who are you? ')
is not a string, but code to be executed (although the argument being passed to input
, 'Who are you? '
, is a string). As an experiment, try surrounding that code with quotation marks (name = "input('Who are you? ')"
) and see what happens!
No, but it was really well made. The perspective shifts were cool
Hopefully it makes the transition as well as Risk of Rain did!
You mean the ridiculous attitude of thinking that vaping shouldn’t be aimed at kids?
Yeah, that’s what frustrates me. There are legitimate concerns around Biden as president. However, every single one of those concerns also applies to Trump, as well as a million more much worse concerns
“people who want Trump to be president”
I’m sorry, I like most of what you said, but I can’t in good conscience upvote someone who thinks the movie was better than the book. It’s a fun movie, but, come on…
That is absolutely fascinating, and makes me want to learn more about poetry
It really does look like that…
I think I’ll wait for the verdict and sentencing to see whether he’s above the law or not
Re: mirrors, I wonder if the CCTV system also streams external footage to use in place of mirrors
I think it’s a baby map turtle! I wasn’t actually planning to catch any that day, but I saw this little guy just a few inches below the surface and had to scoop him up!
Oh yeah, I washed my hands well after that
I just deadname buildings. Anyone been up the Sears Tower lately?
The headline doesn’t say they’ve already raised it?