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