编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:def yidong(): a = eval(input()) b = list(map(int,input().split())) c = e…… 题解列表 2022年05月08日 0 点赞 0 评论 210 浏览 评分:0.0
应该不会要这么多for循环,但不失为一种直肠子的解法 摘要:解题思路:注意事项:参考代码:n = int(input())list_m = list(map(int,input().strip().split()))m = int(input())other …… 题解列表 2022年04月15日 0 点赞 0 评论 191 浏览 评分:0.0
编写题解 1046: [编程入门]自定义函数之数字后移(超容易理解) 摘要:解题思路:注意事项:参考代码:刚开始暴力思路:x=list(map(int,input().split())) h=(x[-2:]+x[:8]) for i in h: print(i,…… 题解列表 2022年04月07日 0 点赞 0 评论 232 浏览 评分:9.9
自定义函数之数字后移----最简单 摘要:解题思路:注意事项:参考代码:a=int(input())b=list(map(int,input().split()))c=int(input())d=[]for i in range(c): …… 题解列表 2022年03月03日 0 点赞 0 评论 208 浏览 评分:0.0
1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:n = int(input())lis = list(map(int, input().split()))m = int(input())for i in range(m…… 题解列表 2022年02月22日 0 点赞 0 评论 128 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(python代码) 摘要:解题思路: 按照要求写输入代码,列表中的数据利于按照题干要求进行转换。注意事项:参考代码:n=int(input())lst1 = list(map(int,input().split()))m…… 题解列表 2022年01月25日 0 点赞 0 评论 175 浏览 评分:0.0
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 评论 200 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(Python代码) 摘要:解题思路:用列表来解决,清晰易懂注意事项:参考代码:n = int(input())x = map(int,input().split())m = int(input())list_1 = list(…… 题解列表 2021年11月10日 0 点赞 0 评论 184 浏览 评分:0.0
利用新建空白列表来解决交换问题(python) 摘要:解题思路:注意事项:参考代码:def remove_nums(m,s,n): s1=[] for i in range(m-n,m): s1.append(s[i]) …… 题解列表 2021年08月18日 0 点赞 0 评论 256 浏览 评分:9.9
1046: [编程入门]自定义函数之数字后移 摘要:解题思路:用了一个辅助列表注意事项:无参考代码:num = int(input()) list1 = list(map(int,input().split())) list2 = list1.co…… 题解列表 2021年04月25日 0 点赞 0 评论 168 浏览 评分:0.0