Add get_lines
This commit is contained in:
parent
6fef5edd51
commit
f13e8da7ea
1 changed files with 8 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue