![](https://lemy.lol/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2F56b875b2-16e7-404c-9df1-f1343f095591.jpeg)
![](https://lemy.lol/api/v3/image_proxy?url=https%3A%2F%2Fprogramming.dev%2Fpictrs%2Fimage%2F1d99f7cb-50e7-4994-94c4-fd23f30209b7.png)
“The other two functions work similarly” noo I wouldn’t say that! :D On a very abstract way, maybe. But especially to a beginner, they don’t. One just processes it’s input a bit (casting) while the other displays text, reads from stdin, etc.
I believe OPs confusion stems exactly from presuming strong similarities between all functions, while only float()
and int()
are similar and input()
being a completely different thing (relatively speaking…)
It’s funny how my brain makes the cat look huge whenever I focus on the CAT logo.
As it probably has internalized the size of things with this logo