Ideally you'd have a separate function to handle the input entirely though, then the while clause would be shorter.
And yeah, but everyone does use f-strings, including me. I just thought it was funny to come across the single use case for this operator and still see it ignored.
View all comments
Show parent comment
3
u/RapidCatLauncher Jun 11 '21
Much less readable, though. If my program blocks with an input prompt, I don't want that to be hidden away in a loop condition.
Also, while we're complaining about features being unused: f-strings, my friend.