YouTip LogoYouTip

Python Exercise Example62

# Python2.x Python Exercise Instance 62 [![Image 3: Python 100 Examples](#) Python 100 Examples](#) **Title:** Find string. **Program Analysis:** None. Program source code: ```python #!/usr/bin/python # -*- coding: UTF-8 -*- sStr1 = 'abcdefg' sStr2 = 'cde' print sStr1.find(sStr2) The output of the above instance is: 2 [![Image 4: Python 100 Examples](#) Python 100 Examples](#)
← Python Exercise Example63Python Exercise Example61 β†’