题解列表
二级C语言-进制转换python
摘要:解题思路:注意事项:参考代码:m = int(input())s = oct(m)s = s[2:]print(s)……
平均值计算python
摘要:解题思路:注意事项:参考代码:n = list(map(int,input().split()))s = sum(n)/(len(n))count = 0for i in n: if i>s: ……
兰顿蚂蚁python代码,正确,小白水平可读懂
摘要:解题思路:注意事项:参考代码:#兰顿蚂蚁#输入m,n=map(int,input().split())l1=[]for i in range(m):#输入矩阵 l1.append(list(ma……
编写题解 1810: [编程基础]输入输出练习之精度控制3
摘要:解题思路:用format控制输出注意事项:map函数的用法参考代码:a,b,c,d = map(str,input().split())print("{} {:>4} {:.2f} {:.12f}".……
编写题解 2850: 输出亲朋字符串
摘要:解题思路:设计两个移动指针count1,count2注意事项:参考代码:str=input()
ls=[] #初始化空列表
count1=0 #设计两个相邻指针并初始化
count2=1
wh……
编写题解 2849: 石头剪子布
摘要:解题思路:注意事项:参考代码:ls=["Rock", "Scissors", "Paper"] #选择
def judge(S1,S2):
if S1==S2: #平局
……
最简的题解,等比公式求和
摘要:解题思路:要多利用数学公式注意事项:参考代码:b=int(input())
a=100*(1-0.5**b)*4-100 //路程是位移的两倍,减去一开始多算的100就行了
print(……