Arrangement
This commit is contained in:
1 parent
51e42c20bb
commit
85b9ad927d
1 file changed
+11
+11
@@ -0,0 +1,11 @@
|
|||||||
|
n = int(input())
|
||||||
|
m = int(input())
|
||||||
|
|
||||||
|
teamsize = m // n
|
||||||
|
extras = m % n
|
||||||
|
|
||||||
|
for i in range(n):
|
||||||
|
if i < extras:
|
||||||
|
print("*" * (teamsize + 1))
|
||||||
|
else:
|
||||||
|
print("*" * teamsize)
|
||||||
Reference in new issue
Block a user