[114, 11, 90, 7, 34]
给定一个数字列表，请编写 Python 程序，以查找列表中第二小的数字。
def secondSmallest(list):
  smallest = list[0]
  secondSmallest = list[0]
  for x in list:
    if x < smallest:
        secondSmallest = smallest
        smallest = x
    elif x < secondSmallest:
        secondSmallest = x
  return secondSmallest

print(secondSmallest([114, 11, 90, 7, 34]))

# 输出: 11