We will discuss about one of the built in functions that does help in this session every object in Python
contains a reference to a string and this string contains a concise summary of the object and how to
use it and the python's built in function help can access this information and display the result.
So let us use the help function.
Say for example we want to see the documentation for the Lent function in e in so let's pass this as
an argument to the help function and then execute this line.
So here you see information regarding the lend function.
So the lend function returns the number of items in our container next let us pass the data type string
to the help function and then execute this line apart from the documentation that is specified here.
You can also see the different methods that can be called on this data type.
String say for example the method capitalize.
So this is how you can call method on a string using the dot operator.
Case fold center count.
So these are the different method that can be called on a string if you do not pass any argument to
the help function and then execute.
Here you see some interaction about the help system and then we also have the help prompt wherein you
can type the keywords or any topics that you want to search for.
So let in the list and then execute so you're busy.
The differing methods that can be used on the list object and if you want to quit from the health system
you can type.
Good and then hit enter.
So we have exited out of the health system and return to the interpreter.
Next we will talk about another feature known as the tab completion.
Every python object has various attributes and methods associated with it.
So let us define a string SD are 1 and this is the string that is assigned to SD R1.
Now if I want to perform any modification to the string art I want to manipulate the string I can use
different methods on the string and in order to see the list of methods that can be used on a string.
You can use the tap completion so for that type in your string SD are one dot and then hit tab the tab
button on your keyboard so after you heard the tab game you see the different methods that can be called
on the string.
So let us choose this method.
Put on the string and then execute so the case of all the characters in the string have been changed.
Let's see another example.
So let's give the string is the odd one and then hit the tab key so browse through all of the different
method that can be applied on the string.
So let's choose this method is Alpha.
Execute.
And if all of the characters in the string are alphanumeric this is going to return true.
This functionality can be used on lists and other Python objects.