I am trying to ask the user for their phone number, and many people type their number such as "123-456-7890", "(123)456-7890".
I want to make the program strip the " ()- " from the input so that when I print the number back to the user, it shows it as 1234567980 without all the extra characters.
So far I have been able to remove only the first parentheses from the string by doing this:
number = str(input("Enter phone number: "))
print(number.strip('('))