Author: Not specified | Language: python |
Description: Not specified | Timestamp: 2017-08-21 23:53:48 +0000 |
View raw paste | Reply |
- print("The first five characters are '%s'" % s[:5]) # Start to 5print("The next five characters are '%s'" % s[5:10]) # 5 to 10print("The thirteenth character is '%s'" % s[12]) # Just number 12
View raw paste | Reply |