phonenumbersEasy Playground

Parse, format, validate phone numbers (Google libphonenumber)

Getting started with phonenumbersRun locally
Install
pip install phonenumbers
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: phonenumbers)

phonenumbers is a third-party package. Parse, format, validate phone numbers (Google libphonenumber). Install with: pip install phonenumbers

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?