摘要:
python实现 s=str(input()) factor1=1.0 if s[0]=="-": factor1=1.5 s=s[1:] l=len(s) count=0 for i in s: if i=="2": count+=1 factor2=1.0 if int(s)%2==0: fac 阅读全文
posted @ 2024-07-03 16:21
豆豆是只乖狗狗
阅读(41)
评论(0)
推荐(0)
摘要:
python 实现 num=int(input()) lst=[] while True: s=str(input()) if s!="End": lst.append(s) else: break count=0 for item in lst: if count!=num: if item==" 阅读全文
posted @ 2024-07-03 16:05
豆豆是只乖狗狗
阅读(24)
评论(0)
推荐(0)
摘要:
python 实现 num=int(input()) lst_res=[] for i in range(num): temp=str(input()) if int(temp[0])+int(temp[1])+int(temp[2]) == int(temp[3])+int(temp[4])+in 阅读全文
posted @ 2024-07-03 15:42
豆豆是只乖狗狗
阅读(28)
评论(0)
推荐(0)
摘要:
python 实现 num1=int(input()) lst_id=[] lst_shiji=[] lst_kaoshi=[] for i in range(num1): s=input() lst_id.append(int(s.split(" ")[0])) lst_shiji.append( 阅读全文
posted @ 2024-07-03 15:32
豆豆是只乖狗狗
阅读(47)
评论(0)
推荐(0)
摘要:
python 实现 num=int(input()) lst=[] for i in range(num): s=input() a=int(s.split(" ")[0]) b=int(s.split(" ")[1]) res=int(s.split(" ")[2]) if a*b==res: l 阅读全文
posted @ 2024-07-03 11:31
豆豆是只乖狗狗
阅读(58)
评论(0)
推荐(0)
摘要:
python 实现 s=input() sum=int(s.split(" ")[0])+int(s.split(" ")[1]) fac=1 for i in range(1,sum+1): fac=fac*i print(fac) 阅读全文
posted @ 2024-07-03 11:25
豆豆是只乖狗狗
阅读(48)
评论(0)
推荐(0)

浙公网安备 33010602011771号