摘要:
8.20 8月19 打卡:sock son sil sam 常见字:he she 8月18 阅读全文
摘要:
def get_max_count(l:list): dict1={} for i in l: if i not in dict1: c = l.count(i) dict1[i] = c max_count= sorted(dict1.values())[-1] for k,v in dict1. 阅读全文
摘要:
#IP的格式:(1~255).(0~255).(0~255).(0~255) def check_ip(s): if not isinstance(s,str): print("请输入字符串!") return else: if s.count(".")!=3: print("该字符串不是ip!") 阅读全文