Hi guys, I am trying to create a list with running numbers and its contents (in this case sorted according to number in ascending order) in CSV format like below.
1 a 80
2 b 81
3 c 82…etc
Here is my attempt and everything seems fine until the write to CSV file. It appears null and only gives me the last item of the list. I do not know what went wrong.
Can anyone shed some light on this please? Thank you.