@rainerloeten@lemmy.world cover
@rainerloeten@lemmy.world avatar

rainerloeten

@[email protected]

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

This profile is from a federated server and may be incomplete. View on remote instance

rainerloeten ,
@rainerloeten@lemmy.world avatar

Made me think of this YouTube video :)
Also check out the comments for more examples.

rainerloeten ,
@rainerloeten@lemmy.world avatar

The only actual good answer.

rainerloeten ,
@rainerloeten@lemmy.world avatar

"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..)

rainerloeten ,
@rainerloeten@lemmy.world avatar

Why downvote him? He made an observation and comments even explained why. I learned something, it added to the discussion.

rainerloeten ,
@rainerloeten@lemmy.world avatar

I agree. Especially as the app is already 20 MB in size... 1.5MB wouldn't make much difference IMO.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinchat
  • All magazines