优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:su=0.0for _ in range(12): a=float(input()) su+=aresult=f"${(su/12):.2f}"print(r…… 题解列表 2024年07月24日 0 点赞 0 评论 512 浏览 评分:0.0
优质题解,回归真神的初始途径 摘要:解题思路:a,b=map(int,input().split())if a>b: print(">")elif a==b: print("=")else: print("<")…… 题解列表 2024年07月23日 0 点赞 0 评论 704 浏览 评分:9.9
优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:a=input()if ord(a)%2==0: print("NO")else: print("YES")…… 题解列表 2024年07月23日 0 点赞 0 评论 607 浏览 评分:9.9
优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:a=int(input())b=a%2if b==0: print("even")else : print("odd")…… 题解列表 2024年07月23日 0 点赞 0 评论 631 浏览 评分:9.9
判断数正负 摘要:解题思路:注意事项:参考代码:N = int(input())if N > 0: print("positive")elif N == 0: print("zero")elif N < 0…… 题解列表 2024年07月22日 0 点赞 0 评论 598 浏览 评分:0.0
计算分数的浮点数值 摘要:解题思路:注意事项:保留九位小数,注意被除数不能为零参考代码:a,b = map(int,input(().split()) if b != 0: result = round(a/b,9) …… 题解列表 2024年07月21日 0 点赞 0 评论 874 浏览 评分:0.0
地板砖顶着地板砖 摘要:解题思路:无注意事项:无参考代码:n=input()n=int(n)b=0for i in range(2,n): b=0 for j in range(2,i): if i…… 题解列表 2024年07月17日 0 点赞 0 评论 387 浏览 评分:0.0
繁花似锦分身乏术列今年初发的风格的放过他过分 摘要:解题思路:无注意事项:无参考代码:g=input()g=int(g)if g>=10 and g<=99: print("1")else: print("0")…… 题解列表 2024年07月16日 0 点赞 0 评论 664 浏览 评分:9.9
关于Python的基本输入输出 摘要:import sys sys.set_int_max_str_digits(100000000) while True: try: n = int(input()) …… 题解列表 2024年07月15日 0 点赞 0 评论 303 浏览 评分:0.0