Ich mag Pflanzen und hab ein extra Regal dafür. Support your FOSS (Free and OpenSource Software) projects!🫶🏼

  • 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: September 12th, 2023

help-circle



  • “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…)