+ 2

Can we first declare a string and then use 'startwith' and 'endwith' function on this string?If not, why?

For example-: str = "My name is Anthony Gonsalves." print(str.startwith("My")) print(str.endwith("Gonsalves"))

10th Jun 2020, 11:13 AM
Vasudev Dubey
Vasudev Dubey - avatar
2 ответов
+ 1
Ohk Thanks
10th Jun 2020, 11:25 AM
Vasudev Dubey
Vasudev Dubey - avatar