# http://codingbat.com/prob/p167025

def sum13(nums):
  sum = 0
  
  i = 0
  while i < len(nums):
    if nums[i] == 13:
      i += 2
      continue
    else:
      sum += nums[i]
    i += 1
      
  return sum

Create sum13.py