+ 2

What is the mechanism behind?

Here shldnt it return a True value if the 'if' statement is being excecuted.. https://code.sololearn.com/c3PPrhekN7C9/?ref=app

13th Mar 2020, 11:49 AM
Y AD Ù
Y AD Ù - avatar
1 Odpowiedź
+ 3
Y AD Ù if the function is not returning false doesn't means that it will return true only. re.match() returns the match object if found. Otherwise returns nothing. Here👇 https://code.sololearn.com/cnBQy9RK15ph/?ref=app
13th Mar 2020, 11:59 AM
Arsenic
Arsenic - avatar