prometheus1413
prometheus1413
全部文章
分类
归档
标签
去牛客网
登录
/
注册
prometheus1413的博客
全部文章
(共17篇)
题解 | #重载运算#
class Coordinate: def __init__(self, x, y): self.x =&...
Python3
2022-08-25
0
222
题解 | #修改属性1#
class Employee: def __init__(self, name, salary): self.nam...
Python3
2022-08-25
0
224
题解 | #谁的数字大#
x, y = list(map(int, input().split())) print(x > y) print(x < y)
Python3
2022-08-24
2
258
题解 | #牛牛最好的朋友们#
print(input()+input())
Python3
2022-08-24
27
265
题解 | #截取用户名前10位#
s = input()[:10] print(s)
Python3
2022-08-24
4
290
题解 | #不用循环语句的重复输出#
print(input()*100)
Python3
2022-08-24
8
334
题解 | #运动会双人项目#
t = (input(), input()) print(t)
Python3
2022-08-24
12
421
题解 | #图形面积#
import math class Square: def __init__(self, side): self...
Python3
2022-07-19
0
258
题解 | #球的体积与表面积#
import math def v(r): return 4 / 3 * math.pi * r**3 def s(r): &nbs...
Python3
2022-07-19
0
292
题解 | #Nim游戏#
class Solution: def NimGame(self , n: int) -> bool: ...
Python3
2022-07-14
0
284
首页
上一页
1
2
下一页
末页