Why empty lines are creating? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why empty lines are creating?

I'm working on csv file with csv module on python .when i write a data or creating new row etc it also automatically creating a empty list in csv file but why please help me.

12th Dec 2018, 4:50 PM
Maninder $ingh
Maninder $ingh - avatar
2 Answers
0
Hi Maninder $ingh Give an example of the code.
12th Dec 2018, 6:53 PM
Louis
Louis - avatar
0
careful if there is a “\n” here or there... posting your code would solve ur prob...
12th Dec 2018, 7:53 PM
Bourhan Dernayka
Bourhan Dernayka - avatar