summaryrefslogtreecommitdiff
path: root/progs/a429.py
blob: 3fad1cc84897b34e0331601295d2afbe4562edce (plain)
1
2
3
4
5
6
def pos_count(list):
  pos_count= 0
  for num in list: 
    if num >= 0: 
      pos_count += 1
  return pos_count