asked 48.3k views
5 votes
Can someone please help i have no idea what’s going on in this code

Can someone please help i have no idea what’s going on in this code-example-1
asked
User Stefann
by
8.2k points

1 Answer

5 votes

Step-by-step explanation:

The first 3 lines of code tell the user to input a 5 digit number (ex. 72,910) or a 1 digit number (ex. 3). The next 5 lines of code determine if it is a 5/1 digit number or not. If it is, it prints "Success!". The rest of the code just tells that if it's not a 5/1 digit number, and if it's not, it gives errors and tells the user to try again.

Hope this helps!

answered
User Crazy Lazy Cat
by
8.1k points

No related questions found