0

The info from line 114 to 125 should be saved locally in a file. Lets pretend there is such a file(ye.txt) how do i save all

that information in that file. As u can se on line 130 i know the way to do it but not quite. I get objects printed out instead. https://code.sololearn.com/c85wUDDd7OR1/?ref=app

21st May 2022, 2:30 AM
Lenoname
1 Antwort
0
You can not directly get data when you call a class. You need to use ``` def __str__(self): return "Your Desired Output" ``` in required class
1st Jun 2022, 3:39 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar