Created
April 21, 2020 13:02
-
-
Save Celia-code/4d84d2d2807afc3c7886df067c54100b to your computer and use it in GitHub Desktop.
字符串
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text = 'hello python' | |
position = text.find('python') | |
print(position) | |
# 打印出6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment