Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verifying IP(input) #79

Open
andvas0576 opened this issue Jun 30, 2022 · 0 comments
Open

verifying IP(input) #79

andvas0576 opened this issue Jun 30, 2022 · 0 comments

Comments

@andvas0576
Copy link

To whom it may concern,

when accepting input if number > 255 and no "." follows, instead of going through an error or filling empty spaces with "0". instead it accepts the input. as shown in the example below.

input_issues

Is the code supposed to behave this way, something I may be omitting for how IP address works?
Or is there something I may be doing wrong, down below is how I accept input from users.

read_input

for retrieving the input I just use a return statement of the user_ip variable.

Thanks in advance!
looking forward to learn more about this module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant