“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…)
I hope this is not true