0
Files
https://code.sololearn.com/c86p4fsdXsX7/?ref=app How would you remove a animal in list that has been written to a txt file, so when you look at the file the animal is no longer there
5 Respostas
+ 3
hi farhan, can you please describe a little bit more what your program is doing and what it is not doing. It would also be great if you support us with a piece of code that creates your file so that we can go in depth?
thanks lothar
+ 3
OK, I come back tomorrow to you. Will preare a step by step guide for you.
+ 3
hi farhan, basic tutorial is ready. I used your ‘animal’ list to do it. It is not a ‘ready-to-use’ program but tasks are coded. What you have to do is the structure and so on. Hope it helps.
Happy coding!
https://code.sololearn.com/cESZeFlM1cRR/?ref=app
0
right now the program can write the stings to the file and pompt the use with a question of what animal they want to remove.
my program doesnot remove the string entered by the user from the file, instead all the animals remain in the file.
0
thanks lothar, hopefully this will help me fix my code