admin scripts
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

13 行
219 B

  1. #!/usr/bin/env python
  2. import sys
  3. for i in sys.stdin:
  4. i = i.rstrip()
  5. if i.startswith("yearsPaid:"):
  6. print "yearsPaid:", int(i.split()[1]) - 1
  7. elif i.startswith("newbie:"):
  8. print "newbie: FALSE"
  9. else:
  10. print i