Topic 3 : Python Foundation : Assessments--Item 54 Writing Files


#1

I am getting an error “Please check the file content” but getting the correct result Pls. look after that. As this is the only problem which is remaining, rest are done.
Untitled


#2

Hi, Siddhant.

I have rechecked your code and it is absolutely right.
According to question function also not required.
What is the error you are getting?
It is perfectly working fine for me.

All the best!


#3

I have tried both with and without creating function but it shows this all the time


#4

Hi, Siddhant.

Once delete this file and recreate it, it might work.

Hope you will be successful!


#5

Thanks sir, It worked!!!