Skip to content

Commit

Permalink
solution
Browse files Browse the repository at this point in the history
  • Loading branch information
sabira-khan committed Apr 4, 2022
1 parent dc18a1b commit 37e0fb3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions PythonSolutions/Beecrowd1278_uri.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
case = False
while True:
test = int(input())
if test == 0:
break
if case:
print()

s = []
for i in range(test):
s.append(' '.join(input().split()))
l = max(len(i) for i in s)

for i in range(len(s)):
for j in range(l - len(s[i])):
print('', end=' ')
print(s[i])

case = True

0 comments on commit 37e0fb3

Please sign in to comment.