len() function : len : Buildin Function : Python examples (example source code) Organized by topic

C++
PHP
Python
Python Home »  Buildin Function   » [  len  ]  Screenshots 
 



len() function




message = raw_input("Enter a message: ")

print "\nThe length of your message is:", len(message)


           
       
Related examples in the same category
1.  Built-in function len(): get the length of a list Built-in function len(): get the length of a list
2.  Built-in function len() returns the length of a string Built-in function len() returns the length of a string
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.