• 11 Posts
  • 599 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
















  • Oh! I get it now!

    It’s because while int() and float() are instantaneous, while input() uses the fourth dimension, time, and thus depends on a future input by the user. (May not make sense the way I’m putting it, but it makes sense to me. Lol.) In other words, while float() and int() have all the data they need to produce an output (i.e. what’s in the parentheses), input() “outputs” the text in the parentheses, then puts itself into a pending state to await further user input, then outputs that second user input.

    Am that about the right of it? :)