Objective: Learn how to utilize conditionals, iteration, string operations and lists to convert one data type to another data type.
Final Product: The reason why CSV files are called "comma-separated" is because the data is separated by comments as shown in the screenshot below.
![]() |
Example CSV file |
![]() |
Final Program GUI (Graphical User Interface). |
Graphical Template: https://scratch.mit.edu/projects/398509123/
Scripts:
Testing: Here is some sample data that you can utilize to test our your program:
clientid,date,weekdays,gains,prices,up
1951,3173,26.56,0.7,19.76,0.98,1
0.00,0.25,-1.27,0.28,2.00,-0.61
"YEAR","WORLDCONSUMPTION","COPPERPRICE","INCOMEINDEX","ALUMPRICE","INVENTORYINDEX","TIME"
It's always important to utilize real testing data in order to debug your program. These sets are small enough where you could make the list yourself so you'll be able to spot any mistakes pretty quickly!
Completed Program: Link
Convert a CSV line to a list in scratch book. Our scratch book is here and it is for those who attract towards this essayhave list, Update your list daily and check all what we share on the page to get complete conversion about it.
ReplyDelete