1388: GC的苦恼 摘要:解题思路:注意事项:参考代码:while True: try: num = int(input()) if 90<=num<=100: prin…… 题解列表 2021年12月24日 0 点赞 1 评论 328 浏览 评分:0.0
陈教主的三角形 摘要:while True: try: ls = list(map(int,input().split())) ls.sort() a, 题解列表 2021年12月24日 0 点赞 0 评论 346 浏览 评分:0.0
妹子杀手的故事 摘要:while True: l,h = map(int,input().split()) if l == 0 and h == 0: break print…… 题解列表 2021年12月24日 0 点赞 0 评论 473 浏览 评分:0.0
题解 1161: 回文数(二)(python) 摘要:def n_to_ten(n,m): j = 0 sum =0 for i in str(m)[::-1]: sum += int(i)*n**j …… 题解列表 2021年12月24日 0 点赞 0 评论 785 浏览 评分:0.0
str = replace(old, new)替换所有空格 摘要:就这???? 就这??? while 1: st = input() NewSt = st.replace(' ', '') print…… 题解列表 2021年12月24日 0 点赞 0 评论 422 浏览 评分:0.0
divmod(x, y)函数,集商和余数于一体 摘要: # a, b = divmod(x, y) divmod()函数会返回两个值,第一个为 x // y, 第二个返回值为 x % y MoneyVariety_lis =…… 题解列表 2021年12月24日 0 点赞 0 评论 878 浏览 评分:0.0
[编程入门]自由下落的距离计算 摘要:解题思路:找规律 借助画图工具来进行找规律100 50 50 25 25 12 .5 12.5.........注意事项:注意要保留两位小数参考代码:m,n=map(int,input().split…… 题解列表 2021年12月23日 0 点赞 0 评论 692 浏览 评分:9.9
[编程入门]三个字符串的排序(python代码) 摘要:解题思路:注意事项:参考代码:a=input();b=input();c=input()x=[a,b,c]x.sort()for i in x: print(i)…… 题解列表 2021年12月23日 0 点赞 0 评论 662 浏览 评分:9.0
[编程入门]三个字符串的排序(python代码) 摘要:解题思路:注意事项:参考代码:def gys(x,y): if x>y: z=y else: z=x while z!=0: if x%z=…… 题解列表 2021年12月23日 0 点赞 0 评论 597 浏览 评分:6.0
列表去重、排序 摘要: m = int(input()) m_lis = list(map(int, input().split())) #输入 m_lis1 = m_lis[:] #…… 题解列表 2021年12月22日 0 点赞 0 评论 523 浏览 评分:0.0