0

Regular-expression 1.3

hello every one, some body can help me with this, please, it work but i can not solved exercise import re lista = [] def numero(): num = str(input("numero telefonico: ")) # num = re.search(cambio,"00") cambio = r"^00" num=re.sub(cambio,"+",num) lista.append(num) for i in lista: print(i) return numero() numero() thank you

16th Dec 2021, 4:25 PM
Juan Luis Garcia Roman
Juan Luis Garcia Roman - avatar
3 odpowiedzi
+ 1
Hello Juan, Please specify Python as the relevant language of the question (deduced from the code) ☝ https://code.sololearn.com/W3uiji9X28C1/?ref=app
16th Dec 2021, 4:28 PM
Ipang
+ 1
What should the code do and what does it do instead?
16th Dec 2021, 11:32 PM
Emerson Prado
Emerson Prado - avatar
0
hello my question is why this code does not work for solving the problem on python in sololearn
16th Dec 2021, 4:46 PM
Juan Luis Garcia Roman
Juan Luis Garcia Roman - avatar