In [1]: # captialize() - to make 1st letter from lowercase into uppercase
a="hey buddies"
print([Link]())
Hey buddies
In [2]: # captialize() - make no change in case of integer
age="40 is my age"
print([Link]())
40 is my age
In [10]: #count() - it will count how many times the specified words/letters accurs in the v
b= "welcome to Gurukula"
print([Link]("welcome"))
print([Link]("e"))
print([Link]("u"))
print([Link]("u",0,15))
print([Link]("u",0,17))
1
2
3
2
3
In [12]: #islower() - checks the strings are in lowercase and print true or false and lowe
c="pYthon for Toddlers"
d="pytHon for TODDdlers"
e="python for toddlers"
print([Link]())
print([Link]())
print([Link]())
False
False
True
In [13]: #islower() - checks the all strings are in lowercase and print true or false and
c="pYthon for Toddlers"
d="pytHon for TODDdlers"
e="python for toddlers"
print([Link]())
print([Link]())
print([Link]())
python for toddlers
python for todddlers
python for toddlers
In [14]: #isupper() - checks the all strings are in uppercase and print true or false and
c="pYthon for Toddlers"
d="pytHon for TODDdlers"
e="PYTHON FOR TODDLERS"
print([Link]())
print([Link]())
print([Link]())
False
False
True
In [15]: #isupper() - checks the all strings are in uppercase and print true or false and
c="pYthon for Toddlers"
d="pytHon for TODDdlers"
e="PYTHON FOR TODDLERS"
print([Link]())
print([Link]())
print([Link]())
PYTHON FOR TODDLERS
PYTHON FOR TODDDLERS
PYTHON FOR TODDLERS
In [17]: #SWAPCASE() -it converts upper into lowercase and viceversa
f="PYTHON for TOOddlers"
print([Link]())
python FOR tooDDLERS
In [19]: #istittle()- checks whether first letter of every words are captitalized or not and
g="welcome to gurukula"
print([Link]())
print([Link]())
False
Welcome To Gurukula
In [27]: #startswith()- cheks whether the mentioned string is the starting strings or not
var="hey how are you??"
print([Link]("hey"))
print([Link]("how"))
print([Link]("h"))
print([Link]("he"))
True
False
True
True
In [29]: #endswith()- cheks whether the mentioned string is the ending strings or not
var="hey how are you??"
print([Link]("you"))
print([Link]("??"))
print([Link]("?"))
print([Link]("."))
False
True
True
False
In [ ]: #replace()
In [ ]: #find()