Created
October 1, 2022 10:33
-
-
Save apalevich/83b19b4ff0f1923c03dec8e9fe4bb144 to your computer and use it in GitHub Desktop.
Send message to Whatsapp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
str = input('Copy and paste here phone number (Cep)') | |
fixed = re.sub(r"\D", "", str) | |
print('Send message to Whatsapp: https://wa.me/9' + fixed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment