File Handling in Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

File Handling in Python

How do I write and read from file with these information I stored with Classes? https://code.sololearn.com/cZj8rKM2TwzU/?ref=app

15th Dec 2019, 5:47 AM
Damoi Myers
Damoi Myers - avatar
4 Answers
+ 3
Sololearn doesn't get inputs at run time. You must take all of your inputs at the beginning. For example enter all of your inputs in a space separated pack and put them in a list by: In = input().split() So you must enter your entries like: In1 in2 in3 .... But if you need to get your entries at running time then sololearn is not it's place.
15th Dec 2019, 6:23 AM
Qasem
0
Just give me the syntax for the run time and I’ll try it in PyCharm... Please.
15th Dec 2019, 9:11 AM
Damoi Myers
Damoi Myers - avatar
0
My college teaches me C language but I’m currently trying to learn Python on my own so I’m seeking help... Lol i thought Python had struct but its not so.
15th Dec 2019, 9:12 AM
Damoi Myers
Damoi Myers - avatar
0
Okay thanks a lot! 😀
8th Jan 2020, 3:59 AM
Damoi Myers
Damoi Myers - avatar