1046:[编程入门]自定义函数之数字后移 摘要:n=int(input()) s=list(map(int,input().split())) a=int(input()) count=a j=0 for i in range(len(s…… 题解列表 2022年01月09日 0 点赞 0 评论 535 浏览 评分:0.0
C语言训练-最大数问题-题解------------Python代码 摘要:解题思路:注意事项:参考代码:lis = list(map(int, input().split()))while lis[-1] != -1: lis.extend(list(map(int,…… 题解列表 2022年01月09日 0 点赞 0 评论 566 浏览 评分:0.0
二级C语言-自定义函数-题解(Python代码) 摘要:解题思路:注意事项:参考代码:def fact(n): if n == 1: return n else: return n * fact(n-1)def my…… 题解列表 2022年01月07日 1 点赞 0 评论 544 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计-题解(Python代码) 摘要:解题思路:注意事项:参考代码:def statistics_type(s_string): num_alphbets = 0 num_num = 0 num_space = 0 …… 题解列表 2022年01月07日 0 点赞 1 评论 875 浏览 评分:9.0
小九九-题解(Python代码) 摘要:解题思路:注意事项:参考代码:for i in range(1, 10): for j in range(1, i + 1): print("{}*{}={:<2d}".forma…… 题解列表 2022年01月07日 0 点赞 0 评论 686 浏览 评分:0.0
[编程入门]自定义函数之数字分离-题解(Python代码) 解题思路:注意事项:参考代码:sentence=input()print(sentence.replace("","").strip()) 题解列表 2022年01月07日 0 点赞 0 评论 502 浏览 评分:0.0
编写题解 1969: 蓝桥杯算法提高VIP-字符串跳步 摘要:解题思路:注意事项:参考代码:a=input()s=""start,step=map(int,input().split())k=0for i in range(start,len(a)): i…… 题解列表 2022年01月06日 0 点赞 0 评论 542 浏览 评分:0.0
蓝桥杯算法提高VIP-阶乘差 摘要:解题思路:注意事项:参考代码:def jiecheng(x): sum=1 for i in range(1,x+1): sum=sum*i return suma,b…… 题解列表 2022年01月06日 0 点赞 0 评论 865 浏览 评分:0.0
蓝桥杯算法训练VIP-确定元音字母位置 摘要:解题思路:注意事项:参考代码:a=input()j=0flag=Falsefor i in a: j+=1 if i in ['a','e','i&…… 题解列表 2022年01月06日 0 点赞 0 评论 651 浏览 评分:0.0