计算球的体积(Python) 摘要:解题思路:注意事项:参考代码:import math pi = math.pi while True: try: r = float(input())…… 题解列表 2023年02月09日 0 点赞 1 评论 1070 浏览 评分:7.5
1173: 计算球体积-题解(python) 摘要:解题思路:注意事项:参考代码:import mathwhile True: r = float(input()) p = math.pi v = (4/3)*p*(r**3) …… 题解列表 2021年10月23日 0 点赞 1 评论 1088 浏览 评分:7.0
编写题解 1173: 计算球体积 摘要:解题思路:注意事项:参考代码:while True: try: r=float(input()) print('%.3f'%((4/3)*…… 题解列表 2022年02月17日 0 点赞 0 评论 517 浏览 评分:0.0
1173一行解(Python) 摘要:解题思路:注意事项:参考代码:import mathimport sysfor line in sys.stdin:print('{:.2f}'.format((4/3)*math.p…… 题解列表 2022年11月05日 0 点赞 0 评论 395 浏览 评分:0.0
1173: 计算球体积 摘要:解题思路:注意事项:参考代码:import mathwhile True: try: r = float(input()) pi = math.pi …… 题解列表 2022年11月24日 0 点赞 0 评论 396 浏览 评分:0.0
计算球体积 摘要:解题思路:注意事项:参考代码:import mathpi=math.pi //导入库while True: &n 题解列表 2024年12月21日 2 点赞 0 评论 673 浏览 评分:0.0
计算球的体积(Python) 摘要:解题思路:注意事项:使用while循环要加上异常处理块try:……except EOFError:参考代码:importmathwhil…… 题解列表 2025年10月13日 0 点赞 0 评论 33 浏览 评分:0.0