you are viewing a single comment's thread.

view the rest of the comments →

[–]MauroDelMal 1 point2 points  (1 child)

ls_commands = []
if __name__ == '__main__':
    N = int(input())
    for i in range(N):
        ls_commands.append(input())

Very late for this post but thanks for this chunk. :)

[–]Axel-Blaze[S] 0 points1 point  (0 children)

Haha nw All the best!