count

xiaoxiao2022-06-14  22

#!/usr/bin/env python #coding=utf-8 #filename=count_number.py fruit = ['a','fgh','jkl','qwe'] count = 0 for char in fruit: if char == 'a': count = count + 1 print count
转载请注明原文地址: https://www.6miu.com/read-4936550.html

最新回复(0)