题解 | #游游的数字圈#
游游的数字圈
https://www.nowcoder.com/practice/16eafa41a4a242b8870cb2c5420ae089
s = input() cnt = 0 for i in s: if i == '0': cnt += 1 elif i == '6': cnt += 1 elif i == '9': cnt += 1 elif i == '8': cnt += 2 print(cnt)
游游的数字圈
https://www.nowcoder.com/practice/16eafa41a4a242b8870cb2c5420ae089
s = input() cnt = 0 for i in s: if i == '0': cnt += 1 elif i == '6': cnt += 1 elif i == '9': cnt += 1 elif i == '8': cnt += 2 print(cnt)
相关推荐