r/PythonLearning • u/FormalRecord2216 • Jun 11 '25
is int funtion nor working in vs?
So i wrote this code If i put an integer as an input it works But if i put in any non integer it doesnt seem to work at all Shows this error Can anyone help me understand my mistake
6
Upvotes


0
u/Beautiful_Watch_7215 Jun 11 '25
Int() returns something. Specifically a member of the class Int. A class does not return something. But you can continue to believe parentheses have no meaning. I gave you a reference.