fork download
  1. sy='我拿筷子'
  2. print(sy)
  3. str2="Heoll_word"
  4. print(str2)
  5. str3="长沙市人民欢迎你"
  6. print(str3)
  7. print(str3[0])
  8. print(str3[1])
  9. print(str3[2])
  10. print(str3[3:5])
  11. print(str3[-3])
Success #stdin #stdout 0.03s 5032KB
stdin
Standard input is empty
stdout
我拿筷子
Heoll_word
长沙市人民欢迎你
长
沙
市
人民
欢