返回列表 發帖
  1. def compute(n):
  2.     c=0
  3.     for i in range(6):
  4.         if n[i]%3==0:
  5.             c+=1
  6.     return c

  7. n=[0]*6   
  8. for i in range(6):
  9.     n[i]=int(input())   
  10. t=compute(n)   
  11. print(t)
複製代碼
回復 1# 鄭繼威

TOP

返回列表