1670——————拆分位数 摘要: for i in input()[::-1]:print(i,end=' ') n = str(input()) for i in n[::-1]:print(i,en…… 题解列表 2022年07月08日 0 点赞 0 评论 386 浏览 评分:0.0
1853——————数列排序 摘要: n = int(input()) for i in sorted(list(map(int,input().split()))):print(i,end=' ') n…… 题解列表 2022年07月08日 0 点赞 0 评论 528 浏览 评分:0.0
1859——————与2无关的数 摘要: n = int(input()) sum = 0 for i in range(n+1): #迭代遍历n if i % 2 != 0 and '2' n…… 题解列表 2022年07月08日 0 点赞 0 评论 372 浏览 评分:8.0
1864——————数日子 摘要: n = [31,28,31,30,31,30,19] #已知2018年1月至7月每月的天数 sum = 0 #初始化为0 for i in n: su…… 题解列表 2022年07月08日 0 点赞 0 评论 427 浏览 评分:0.0
1915——————三个整数的排序 摘要:两行代码 n = list(map(int,input().split())) for i in sorted(n)[::-1]:print(i,end=' ') 三行代码 …… 题解列表 2022年07月08日 0 点赞 0 评论 517 浏览 评分:9.9
1952——————求长方形的面积 摘要: a,b = map(int,input().split()) print('C:{}'.format(a*2+b*2)) print('S:{}'.format(a*b))…… 题解列表 2022年07月08日 0 点赞 0 评论 560 浏览 评分:0.0
1978——————分类计算 摘要: a,b = map(int,input().split()) sum = a + b square = pow(a,2) + pow(b,2) if square…… 题解列表 2022年07月08日 0 点赞 0 评论 294 浏览 评分:0.0
1979——————求平均工资 摘要: n = int(input()) #输入员工个数 s = [] #空列表 for i in range(1,n+1): #迭代遍历员工个数 a = in…… 题解列表 2022年07月08日 0 点赞 0 评论 430 浏览 评分:0.0