这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```python a,b=map(int,input().split()) m=a**b if m>99: x=(m//100)%10 y=(m//10)%10 z=m%10 print(x,end='') print(y, end='') print(z, end='') elif m<99: print('%03…
```python from math import modf a,b,n=map(int,input().split()) m=modf(a/b)[0] #取分数的小数部分,math.modf(4.25)=(0.25,4.0) m=str(m) print(m[n+1]) ```
```python from math import ceil, sqrt n=int(input()) #屋顶数 t=0 for i in range(n): s=input().split() distance=sqrt((int(s[0]))**2+(int(s[1]))**2) t=2*distance/50+…
在讨论《Python求助:为什么这样解只有80分,第7和第10个测试点RE》回复:
@[Terrible](/user/195942) 太感谢了,更改判断顺序后解决了 ```python from math import sqrt a,b,c=map(float,input().split()) m=b*b-4*a*c if a!=0: if m>=0: x1=((-b+sqrt(m))/(2*a))…
```python from math import sqrt a,b,c=map(float,input().split()) m=b*b-4*a*c if a!=0: x1=((-b+sqrt(m))/(2*a)) x2=((-b-sqrt(m))/(2*a)) if m>=0: if m==0: print("x…
在讨论《Python求助》回复:
```python import decimal a=str(input()) b=int(input()) c=float(input()) d =decimal.Decimal(input()) #decimal.Decimal() 方法可以把字符串转为双精度 print(a[0],end=' ') #写成a不AC…