2211——————数据交换 摘要: a,b = map(int,input().split()) print(b,a) #凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数凑字数…… 题解列表 2022年07月07日 0 点赞 0 评论 404 浏览 评分:0.0
2114——————阶乘和 摘要: n = int(input()) m = 1 s = 0 for i in range(1,n+1): m = m*i s =…… 题解列表 2022年07月07日 0 点赞 0 评论 479 浏览 评分:0.0
#C++1115——DNA二维数组 摘要:#include<iostream> using namespace std; int main() { int p; cin>>p; while(p) { int a,b,j…… 题解列表 2022年07月07日 0 点赞 0 评论 435 浏览 评分:0.0
2005————————去除空格 摘要: for i in list(map(str,input().split())):print(i,end='') n = list(map(str,input().split())…… 题解列表 2022年07月07日 0 点赞 0 评论 541 浏览 评分:0.0
1986——————鸡兔同笼 摘要: s = int(input()) #输入整数s(20≤s≤40) sum = 80 #脚共有80只,也就是鸡兔分别40只(各两只脚平均) a = 2*s-40 #用整数…… 题解列表 2022年07月08日 0 点赞 0 评论 630 浏览 评分:0.0
1979——————求平均工资 摘要: n = int(input()) #输入员工个数 s = [] #空列表 for i in range(1,n+1): #迭代遍历员工个数 a = in…… 题解列表 2022年07月08日 0 点赞 0 评论 470 浏览 评分: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 评论 347 浏览 评分:0.0
1952——————求长方形的面积 摘要: a,b = map(int,input().split()) print('C:{}'.format(a*2+b*2)) print('S:{}'.format(a*b))…… 题解列表 2022年07月08日 0 点赞 0 评论 615 浏览 评分:0.0