1.

Give an example of title( ) in Python

Answer»

The following example shows the usage of title( ) method 

# !/usr/bin/python 

str = “this is string example….wow!!!”;

print str.title( ); 

On compile and run the above program, this will produce the following result : 

This Is String Example….Wow!!!



Discussion

No Comment Found