Jun-10-2018, 11:54 AM
if they come as a single text:
1. split at new line ('\n'). you will get list of lines
2. loop over the result of the split and get one line at a time
3. split that line at space and get the currency and price as I show you. Print what you want inside the loop.
Now, start coding and show what you have tried...
1. split at new line ('\n'). you will get list of lines
2. loop over the result of the split and get one line at a time
3. split that line at space and get the currency and price as I show you. Print what you want inside the loop.
Now, start coding and show what you have tried...
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs