Challenge: Convert Four Octet Values to the Corresponding 32-bit
Write a function that converts the 4 octet values in an IPv4 address to the corresponding 32-bit decimal value.
ipAddress(192, 168, 1, 2)
This problem is designed for you to practice, so try to solve it on your own first. If you get stuck, you can always refer to the explanation and solution provided in the next lesson. Good luck!