IP判断-题解(Python代码) 摘要:```python def IsIp(l): llist = l.split(".") if len(llist) != 4: r = 'N' …… 题解列表 2019年06月19日 0 点赞 0 评论 1013 浏览 评分:0.0
发工资咯 (Python代码) 摘要:注记:python里有个内建函数divmod,挺适合这道题的,哈哈哈 ```python def cal(n): N1, remainder = divmod(n, 100) …… 题解列表 2019年06月18日 1 点赞 1 评论 1501 浏览 评分:9.9
采药-题解(Python代码) 摘要:写着玩的,大家凑合着看吧,哈哈哈 ```python timeout, num = 0, 0#记录时间上限和草药数量 t = [0]#记录每种草药的花费时间 v = [0]#记录每种草药的…… 题解列表 2019年06月17日 0 点赞 0 评论 1524 浏览 评分:9.0
数据结构-链表的基本操作-题解(Python代码) 摘要:写着玩的,开心就好,O(∩_∩)O哈哈~ ```python def Opget(linkedlist, n): if n > len(linkedlist): p…… 题解列表 2019年06月17日 0 点赞 3 评论 1081 浏览 评分:9.9
蓝桥杯算法提高VIP-身份证号码升级-题解(Python和c++代码) 摘要:python描述: a = list(map(int,input())) a.insert(6,1) a.insert(7,9) l1 = [7,9,10,5,8,4,2,1,6,3,7,9,…… 题解列表 2019年06月16日 0 点赞 0 评论 813 浏览 评分:9.9
2004年秋浙江省计算机等级考试二级C 编程题(2) (Python代码) 摘要:解题思路:通过while循环进行计算注意事项:python和其他语言在精度上的问题参考代码:def fact(n): r=1 while(not n == 0): r=r*n n=…… 题解列表 2019年05月11日 0 点赞 1 评论 1121 浏览 评分:0.0
一行代码,Python是世界上最好的语言 (Python代码) 摘要:解题思路: 思路:记住Python是世界上最好的语言,你就能无所不能,战无不胜,达到高潮注意事项: 注意事项:每天起床都要大喊三声:Python牛逼!!!参考代码:print(sum([i…… 题解列表 2019年05月09日 4 点赞 0 评论 813 浏览 评分:7.4
Python是世界上最好的语言 (Python代码) 摘要:解题思路: 我说Python是世界上最好的语言,有人不服吗?注意事项: 不服的都不好看,谢谢参考代码:n=int(input()) for i in sorted(list(map(in…… 题解列表 2019年05月08日 2 点赞 0 评论 966 浏览 评分:4.0
一行代码锤s它(Python代码) 摘要:解题思路:注意事项:参考代码:print("A"*int(input()))…… 题解列表 2019年05月08日 2 点赞 0 评论 885 浏览 评分:9.9
温度转换 (Python一行流) 摘要:注意事项:别忘了输出有个'c=',计算的值转成浮点数格式化输出参考代码:print('c=%.2f' % float(5*(int(input())-32)/9))…… 题解列表 2019年05月03日 1 点赞 3 评论 1248 浏览 评分:5.8