Not sure how to word my question. I'm trying to collect data with input in a for loop and append it every time. I want it to look like this: Each loop of input, I want to enter: SOL $XXX $ZZZ, BTC $XXX $ZZZ, ETH $XXX $ZZZ, etc.
And I want the finished output to look like this:
* `BTC 4/12@07:59pm :: $291.42 @ $40,173.45`
* `SOL 4/12@07:59pm :: $267.02 @ $103.28`
* `LTC 4/12@07:59pm :: $220.91 @ $104.82`
* `ETH 4/12@07:59pm :: $177.43 @ $3,031.23`
* `wETH 4/12@07:59pm :: $45.20 @ $3,031.23`
* `Total 4/12@07:59pm :: $1,001.98`
I'll be able to format it, I just can't figure out how to keep appending the input. I'm sure it'll be something simple that I just can't picture at the moment. Hopefully I worded this well enough for someone to understand my query.
Thanks in advance.
inputto keep appending the final output. Basically like this:var=input; var+=varorvar.append(var)and have the final output look like it does in the OP. But I'm having difficulty with picturing how it should go.