Menu

how to create a very specific condition?

Reading 0:00
15s threshold

the problem that I have to get an input from the user and after that there should be conditions I'm just struggling with a specific one which is: if a number is inside the input the first one shouldn't be a zero at all and numbers should be half the input if there is strings and numbers for example CAS123 would work but CAS12A wouldn't and would be invalid. I'm struggling with this problem and it has exhuasted me idk how to make such a specific condition can someone help?

submitted by /u/Maha-iqo38
[link] [comments]