Can the input() function in Python dynamically detect the input's data type?
问题 So I was making a console application using Python 3.7; that heavily depends on input (wowz). The application's function is to "swap" between two integer variables' values. And that is not where the problem is at, the problem is when I try to validate the user's input by checking the data-type for the input using a couple "if statements", and no matter what the user inputs using the " input() " function; the input's data-type will always be defined as "" I just want this little piece of ART