[编程入门]温度转换-题解(Python代码) 摘要:解题思路:注意事项:参考代码:F=float(input())c=5*(F-32)/9print("c={:.2f}".format(c))…… 题解列表 2021年01月22日 0 点赞 0 评论 561 浏览 评分:0.0
数字整除-题解(Python代码) 摘要:#### 虽然繁琐,但是简单明了,代码呈上!! ```python n = list(input()) num_lis = [] while int(n[0]) != 0: #数据输入 …… 题解列表 2021年01月22日 0 点赞 0 评论 543 浏览 评分:9.9
蓝桥杯算法提高VIP-前10名-题解(Python代码) 摘要:# Life is short,I use Python! ``` n = int(input()) data = list(map(int, input().strip().split()…… 题解列表 2021年01月22日 0 点赞 0 评论 461 浏览 评分:0.0
二级C语言-计算素数和-题解(Python代码) 摘要:#### 代码如下,凑乎着看哈:stuck_out_tongue: ```python def isprime(): sum = 0 m, n = map(int, inpu…… 题解列表 2021年01月22日 0 点赞 0 评论 899 浏览 评分:6.0
[编程入门]结构体之成绩统计2-题解(Python代码) 摘要:#### 简单明了,但是有点繁琐:wink: ```python def entry(): #输入函数,利用二维列表存放学生的信息 n = int(input()) Lis =…… 题解列表 2021年01月21日 0 点赞 0 评论 1102 浏览 评分:9.9
去掉空格-题解(Python代码)-replace替换 摘要:解题思路:replace替换参考代码:s = input() while s != 'End of file': print(s.replace(' ',&…… 题解列表 2021年01月21日 0 点赞 0 评论 729 浏览 评分:8.9
[编程入门]自定义函数之字符提取-题解(Python代码) 摘要:解题思路:见代码参考代码:ls = 'aeiou' n = input() for i in n: for j in ls: if i == j: …… 题解列表 2021年01月21日 0 点赞 0 评论 888 浏览 评分:9.9
[编程入门]自定义函数求一元二次方程-题解(Python代码) 摘要:解题思路:见代码参考代码:def x0(a,b,c): s = b**2-4*a*c if s > 0: x1 = -b+(s)**(1/2)/(2*a) …… 题解列表 2021年01月21日 0 点赞 0 评论 384 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(Python代码) 摘要:#### 简单明了,但是有点水 ```python def common(month, day): #平年 Sum = 0 month_lis = [31, 28, 31,…… 题解列表 2021年01月21日 0 点赞 1 评论 1058 浏览 评分:9.9
蓝桥杯算法提高VIP-求指数-题解(Python代码) 摘要:解题思路:注意事项: 不需要在数字之间打空格!参考代码:n, m = map(int, input().split()) counter = 0 for i in range(1, m + …… 题解列表 2021年01月21日 0 点赞 0 评论 604 浏览 评分:0.0