Sunday, August 26, 2012

finding the length of a string in python


s='ramesh'
print(len(s))



open ant notepad type above two lines save it with some name of ur choice with file extension as py the execute 

No comments:

Post a Comment