user_number = int(input(‘what’s the number?’))
But then what's input('what's the number?')
result in? I understand int() and float(), but I can't wrap my head around what exactly input
does to the text within the succeeding parentheses.
Edit: I get it now! Another user helped me understand it, and I get it now! Thank you for your help too! You're awesome!
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? :)