0
(Resolved) I have a question about data types types(x) in Python
Each 'input' always starts as 'String'. Right after I convert the 'input' to 'string' because I need to do math with that 'input'. But I also need the code to show a 'print' saying that it can only read numbers in case the 'input' is text. Thanks.
4 Respuestas
+ 8
Research about isnumeric method of string class.
+ 1
Thanks dude, I'll search it. I am beginning to learn, I didn't know that method yet.
0
It is very helpful to me, thank u very much dude. I will try to try both options.