I wanted to write an input to receive a line of text, but it was valid when I typed the newline character directly, and ran the following code. Could the input read the newline character? But it doesn't match the information I found
message=input("please enter your name")
print("your name is",message)
it was valid when I typed the newline character directly,what was valid? also what didn't match and what information you found?print("your name is",message)is executed after you entered an empty line, then I can't reproduce that, and the behavior you encounter is indeed irregular.