[编程入门]最大公约数与最小公倍数-题解(Python代码) 摘要:```python # coding=utf-8 i=input().split() i.sort() m=int(i[0]) n=int(i[1]) for a in range(1…… 题解列表 2020年06月04日 0 点赞 0 评论 600 浏览 评分:6.0
蓝桥杯2015年第六届真题-饮料换购-题解(Python代码) 摘要:```python n = int(input()) s = n a = 0 while n > 0: a += 1 if a % 3 == 0: a =…… 题解列表 2020年06月01日 0 点赞 0 评论 704 浏览 评分:0.0
[编程入门]电报加密-题解(Python代码) 摘要:有注释版 ```python #continue退出本次循环,控制输出 str = input() for i in str : #遍历输出 if i.isa…… 题解列表 2020年05月26日 0 点赞 0 评论 558 浏览 评分:9.0
[编程入门]二维数组的转置-题解(Python代码) 摘要:```python A = [list(map(int,input().strip().split())) for i in range(3)] #构造3x3的矩阵 for i in range…… 题解列表 2020年05月26日 0 点赞 0 评论 887 浏览 评分:9.3
[编程入门]自定义函数处理素数-题解(Python代码) 摘要:```python from math import sqrt def isPrime(i): if i == 1 : return False for j …… 题解列表 2020年05月26日 0 点赞 0 评论 777 浏览 评分:9.9
[编程入门]自定义函数求一元二次方程-题解(Python代码) 摘要:```python from math import sqrt a,b,c = map(int,input().split()) d = b ** 2 - 4 * a * c if d > 0…… 题解列表 2020年05月26日 0 点赞 0 评论 1442 浏览 评分:9.9
C语言训练-最大数问题-题解(Python代码) 摘要:lst1 = [] lst2 = [] a = True while a: lst1 = list(map(int, input().split())) for x in r…… 题解列表 2020年05月25日 0 点赞 2 评论 666 浏览 评分:2.0
C语言训练-数字母-题解(Python代码)简洁 摘要:zifuchuan=input() zimushu=0 for i in zifuchuan: if i.isalpha(): zimushu+=1 print(zimushu) …… 题解列表 2020年05月25日 0 点赞 2 评论 402 浏览 评分:0.0
二级C语言-自定义函数-题解(Python代码) 摘要:```python #encoding:utf-8 def fact(m): #阶乘 m = float(m)#将m转为float if m ==0 or m==1: …… 题解列表 2020年05月21日 0 点赞 2 评论 961 浏览 评分:0.0
二级C语言-等差数列-题解(Python代码) 摘要:## Python题解 ```python n=int(input()) # a1*n+n(n-1)*b/2 此处为第n项等差数列求和公式 # a1=2 # b=3 # sum=(a*n…… 题解列表 2020年05月20日 0 点赞 0 评论 565 浏览 评分:0.0