string endswith : String Ends : String : Python examples (example source code) Organized by topic

C++
PHP
Python


Python  »  String   » [  String Ends  ]  Screenshots 
 



string endswith




name = raw_input('What is your name? ')

if name.endswith('Yin'):
    print 'Hello, Mr. Yin'

           
       
Related examples in the same category
























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