with open('practice.txt','w') as x:
text = input('enter text')
x.write(text)
enter text .. hello\n world
output .. hello\n world
it takes it as a string not as a newline character why is my input string when passed to a write() not validating my'\n' character
Does it have something to do with me passing input() to write()