[编程入门]宏定义练习之三角形面积 摘要:from math import sqrta, b, c = map(float, input().split())S = (a + b + c) / 2area = sqrt(S*(S-a)*(S-…… 题解列表 2021年04月07日 0 点赞 0 评论 359 浏览 评分:0.0
简单易懂啊铁汁们 摘要:解题思路:看到输入输出,首先就想到用一个列表来存放每一行判断后的结果,最后再输出注意事项:注意在处理输入的时候,a.b.a.c这样的是不能转换为整数的,需要直接排除,这里我用try...except做…… 题解列表 2021年04月06日 0 点赞 0 评论 231 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:lst = list(map(int,input().split())) lst.reverse() for i in lst: print(i,end=&…… 题解列表 2021年04月06日 0 点赞 0 评论 336 浏览 评分:0.0
蓝桥杯算法提高VIP-数的划分(python题解) 摘要:解题思路:参考https://blog.dotcpp.com/a/76313的思路,列公子大佬写的很详细,参考代码:n=int(input())dp=[[0 for i in range(n+1)] …… 题解列表 2021年04月06日 0 点赞 0 评论 407 浏览 评分:0.0
python解出来了 摘要:解题思路:注意事项:参考代码:ls = []ls1 =[]n = int(input())zz = input()ls = zz.split()for i in range (n): if ls…… 题解列表 2021年04月06日 0 点赞 0 评论 473 浏览 评分:0.0
编写题解 1024: [编程入门]矩阵对角线求和【易懂】 摘要:解题思路:注意事项:参考代码:sum1=0 sum2=0 a=[[0]*3]*3 for i in range(3): a[i]=list(map(int,input().sp…… 题解列表 2021年04月06日 0 点赞 0 评论 266 浏览 评分:0.0
题目 1035: [编程入门]自定义函数之字符类型统计 摘要:def fun(a, b, c, d,str): for i in str: if i.isalpha(): a = a + 1 elif i.…… 题解列表 2021年04月06日 0 点赞 0 评论 200 浏览 评分:0.0
题目 1033: [编程入门]自定义函数之字符提取 摘要:def fun(str): ls = [] for i in str: if i == 'a' or i == 'e' or i == …… 题解列表 2021年04月06日 0 点赞 0 评论 330 浏览 评分:0.0
蓝桥杯算法提高VIP-铺地毯(这是什么鬼题目,没得水平) 摘要:解题思路:注意事项:参考代码:n=int(input()) c=[list(map(int,input().split())) for _ in range(n)] x,y=map(int,inp…… 题解列表 2021年04月06日 0 点赞 0 评论 355 浏览 评分:0.0
题目 1032: [编程入门]自定义函数之字符串连接 摘要:def fun(str_1, str_2): new_ste = str_1 + str_2 return new_stestr_1 = input()str_2 = input()rel…… 题解列表 2021年04月06日 0 点赞 0 评论 457 浏览 评分:7.3