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