In this video you will learn how to print the words in the string starting with "ab" using Python in One Line of Code
.startswith("name")
It is a builtin string function which checks whether the string is ending with "name" or not.
---------------------------------------------------
Follow my Instagram account for more updates -
Instagram - @one.line.code
https://openinapp.co/onelinecode-1