Add get_lines

This commit is contained in:
Gabriel Augendre 2019-11-26 17:52:22 +01:00
parent 6fef5edd51
commit f13e8da7ea
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -12,3 +12,11 @@ def get_line_as_int():
def get_line_as_ints():
variable = map(int, input().split(" "))
def get_lines():
import sys
lines = []
for line in sys.stdin:
lines.append(line.rstrip("\n"))