Answers for "read input with multiple lines"

5

multiline input in python

print("Enter the array:n")   
userInput = input().splitlines()
print(userInput)
Posted by: Guest on August-13-2020
0

read input from multiple lines in BASH

user@host:~$ read -d '' x <<EOF
> mic
> check
> one
> two
> EOF
Posted by: Guest on April-20-2021

Code answers related to "read input with multiple lines"

Python Answers by Framework

Browse Popular Code Answers by Language