Python Built-in String Methods/ Functions 1 :)
These are basic string functions() in python🐍.
So, let the journey🏁 begin🚀....
find()
The find() method finds the first occurrence of the specified value.
The find() method returns -1 if the value is not found.
input : string = 'python dev'
f =...
chryzcode.hashnode.dev7 min read
Tim
input : string = 'This article is written in {}' print (str.format('Python')) Output : This article is written in Pythonthink this syntax is wrong and thus confusing to someone trying to learn.