← Questions
Validate an IPv4 address
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Given a string, decide whether it is a valid IPv4 address: four decimal numbers from 0 to 255 separated by dots, with no leading zeros and nothing else in the string.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
