0

Python re challenge

In the Python Tutorial Course, re challenge (telephone number). How can i get the entry number?

15th Dec 2020, 11:47 AM
Sebastian Atlántico
Sebastian Atlántico - avatar
5 Respuestas
15th Dec 2020, 11:51 AM
JaScript
JaScript - avatar
0
i can resolve it. but the “str variable” should be given by the tester. or am i wrong?
15th Dec 2020, 11:56 AM
Sebastian Atlántico
Sebastian Atlántico - avatar
0
Yes, of course, the input should be made as requested.
15th Dec 2020, 11:59 AM
JaScript
JaScript - avatar
0
I appreciate your help but it doesn’t answer my question. I need to capture the given string in the test cases
15th Dec 2020, 12:15 PM
Sebastian Atlántico
Sebastian Atlántico - avatar
0
Oh man! I finally saw it... I just needed to use input(). I was already thinking of a solution more like sys.argv[0] ... :/
15th Dec 2020, 12:41 PM
Sebastian Atlántico
Sebastian Atlántico - avatar