What if i use string instead of int as input?


what if i write strings as input? interpreter gives me an error. how can i change it?


Input to what? From what?
If you mean user-input from the console, then the only thing you can input is strings.

If you are trying to convert non-numerical text to a number, well, that doesn't make sense and should indeed result in error messages saying it can't be done no matter how badly you want it.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.