Answers for "take input and print that many lines python"

0

multiple lines input python

print("Enter/Paste your content. Ctrl-D or Ctrl-Z ( windows ) to save it.")
contents = []
while True:
    try:
        line = input()
    except EOFError:
        break
    contents.append(line)
Posted by: Guest on December-04-2021

Code answers related to "take input and print that many lines python"

Python Answers by Framework

Browse Popular Code Answers by Language