Skip to content
Snippets Groups Projects
9.py 232 B
Newer Older
hacker717's avatar
hacker717 committed
s = input()
arr = []
while s:
    arr.append(s)
    s = input()

for s in arr:
    res = ""
    for i in range(len(s)):
        res = s
        if s[i] == "#":
            res = s[:i]
            break
    if res:
        print(res)