For a single input just input function is enough!
input()
but for the input that you don’t know how much long?
It’s called taking input until EOF!
import sys
user_input = sys.stdin.read()
print(user_input)
more @https://bobbyhadz.com/blog/python-read-input-until-eof