Which function should be used to validate that input is not a string before performing arithmetic?
Answers
Answered by
0
CU is used to validate that input is not a string before performing arithmetic.
hope it will help you
plz mark me as a brainleist
Answered by
0
'IsNumeric' function should be "used to validate that input" is not a string before performing arithmetic.
Explanation:
The following are used to "check the input" is not a string in the system.
The "ISNUMERIC () function" is used to evaluate an expression which returns 1 if it is a valid numeric expression, or returns 0 otherwise. In this syntax, the expression is any valid expression to be evaluated.
In Python "isnumeric() is a built-in method" used for "string handling". In a string when all are numeric characters; the "isnumeric()" method returns "True", otherwise returns "False".
Similar questions
Geography,
6 months ago
Math,
6 months ago
Computer Science,
11 months ago
World Languages,
1 year ago
Accountancy,
1 year ago
Social Sciences,
1 year ago