update,
This commit is contained in:
10
max015/T11/P04.py
Normal file
10
max015/T11/P04.py
Normal file
@@ -0,0 +1,10 @@
|
||||
def func1(n):
|
||||
i = 1
|
||||
s = 1
|
||||
while s <= n:
|
||||
i+=1
|
||||
s+=i
|
||||
print("*", end="")
|
||||
|
||||
n = 10
|
||||
func1(n)
|
Reference in New Issue
Block a user