react-py icon indicating copy to clipboard operation
react-py copied to clipboard

Is there a way to get trailing whitespace from prompt?

Open Laura opened this issue 1 year ago • 0 comments

Is there a way to get the trailing whitespace from prompt? E.g. if someone wants to run x = input("What is your favourite colour?\n"), prompt would have the "\n" or any other whitespace/newline characters as well?

Thank you!

Laura avatar Mar 19 '24 21:03 Laura