What is a good way to check input or exit with an error message?
For example, if I take input, for example
Length = input('\nEnter a length in feet: ');
How to check if number is greater than 0.
sort of
if Length > 0 then %%do code else %%Output error %%nothing to do here so it just continues and exits end
source share