update
This commit is contained in:
parent
11f01610c3
commit
64a8d556fc
@ -1,11 +0,0 @@
|
|||||||
def get_multiple_line_input(prompt: str = "Enter/Paste your content. Ctrl-D or Ctrl-Z ( windows ) to save it."):
|
|
||||||
print(prompt)
|
|
||||||
contents = []
|
|
||||||
while True:
|
|
||||||
try:
|
|
||||||
line = input()
|
|
||||||
except EOFError:
|
|
||||||
break
|
|
||||||
contents.append(line)
|
|
||||||
user_input = '\n'.join(contents)
|
|
||||||
return user_input
|
|
||||||
Loading…
x
Reference in New Issue
Block a user