Oops, try again. It looks like you didn't write any data to text.txt.
Traceback (most recent call last): File "python", line 5, in <module> TypeError: expected a character buffer object
the exercise is too simple and as i read somewhere, to learn we should try doing additional things, so that what i tried,
i tried to write input using list, i am newbie so dont know it is actually going to work or not, so i thought asking here is better option. help me out
Replace this line with your code.