solved a1p3 and submitted assignment
This commit is contained in:
1 parent
32b04527ab
commit
2b1b79a3c7
10 files changed
+107
-195
No files matched your search
@@ -1,15 +1,15 @@
|
||||
def main():
|
||||
lines = []
|
||||
t = int(input())
|
||||
while (t != 0):
|
||||
lines.append(input())
|
||||
t -= 1
|
||||
|
||||
# Do Problem
|
||||
for line in lines:
|
||||
for char in range(0, len(line)//2, 2):
|
||||
print(line[char], end='')
|
||||
print()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
def main():
|
||||
lines = []
|
||||
t = int(input())
|
||||
while (t != 0):
|
||||
lines.append(input())
|
||||
t -= 1
|
||||
|
||||
# Do Problem
|
||||
for line in lines:
|
||||
for char in range(0, len(line)//2, 2):
|
||||
print(line[char], end='')
|
||||
print()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -1,5 +0,0 @@
|
||||
4
|
||||
your
|
||||
progress
|
||||
is
|
||||
noticeable
|
||||
Reference in new issue
Block a user