[编程入门]分段函数求值-题解(Python代码) 摘要:x = float(input())if x < 1: print(int(x))elif 1 <= x < 10: print(int(2*x-1))else: print(int…… 题解列表 2021年02月18日 0 点赞 0 评论 618 浏览 评分:6.0
[编程入门]温度转换-题解(Python代码) 摘要:解题思路:注意事项:保留两位小数:"%.2f"%c参考代码:F = float(input())c = 5*(F-32)/9c = "%.2f"%cprint("c="+c)…… 题解列表 2021年02月18日 0 点赞 2 评论 2695 浏览 评分:9.7
[编程入门]三个数最大值-题解(Python代码) 摘要:参考代码:a,b,c = map(int,input().split())if a>b and a>c: print(a)elif b>a and b>c: print(b)else: …… 题解列表 2021年02月18日 0 点赞 2 评论 841 浏览 评分:6.0
[编程入门]成绩评定-题解(Python代码) 摘要:参考代码:grade = int(input())if grade >= 90: print('A')elif grade >= 80: print('B'…… 题解列表 2021年02月18日 0 点赞 0 评论 622 浏览 评分:6.7
[编程入门]第一个HelloWorld程序!-题解(Python代码) 摘要:解题思路:注意事项:参考代码:print('**************************')print('Hello World!')print('**…… 题解列表 2021年02月17日 0 点赞 1 评论 1080 浏览 评分:7.3
蓝桥杯2015年第六届真题-密文搜索-题解(Python代码)10行,标准库collections应用 摘要:解题思路:注意事项: 给原字符串切片时一定注意索引值以防漏掉最后一个8位字符串参考代码:from collections import Counter string = input().s…… 题解列表 2021年02月15日 0 点赞 0 评论 527 浏览 评分:0.0
蓝桥杯2013年第四届真题-幸运数-题解(Python代码)(try-except) 摘要:m, n = map(int, input().split()) nums = [i for i in range(1, n + 2)] target = 1 count = 0 for i …… 题解列表 2021年02月15日 0 点赞 0 评论 689 浏览 评分:9.9
note an easy problem2 摘要:哈哈哈#includeint main(){ int strcpy_my(int n, char c[], int m); int n, m; char a[100]; sca…… 题解列表 2021年02月15日 0 点赞 1 评论 579 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值-题解(Python代码) 摘要:解题思路:注意事项:注意第二行数据的输入(空格),可以先用一个列表装(输入要去除空格)参考代码:n=int(input())s=0m=[]m=list(input().strip().split())…… 题解列表 2021年02月12日 0 点赞 0 评论 746 浏览 评分:4.0
蓝桥杯算法提高VIP-输出九九乘法表-题解(Python代码) 摘要:解题思路:注意事项:相乘结果为两位数时,可以采用占2位右对齐输出参考代码:print(' Nine-by-nine Multiplication Table')print('…… 题解列表 2021年02月12日 0 点赞 0 评论 722 浏览 评分:0.0