complete 30868.py and uncomplete 1717.py 1806.py 30869.py
This commit is contained in:
6
zeta_python/completed/30868.py
Normal file
6
zeta_python/completed/30868.py
Normal file
@@ -0,0 +1,6 @@
|
||||
if __name__ == "__main__":
|
||||
T = int(input())
|
||||
for i in range(T):
|
||||
N = int(input())
|
||||
d, r = divmod(N, 5)
|
||||
print(" ".join(["++++"] * d) + ((" " if d else "") + "|" * r if r else ""))
|
||||
Reference in New Issue
Block a user