Everything is working fine when I do python cli.py - get the results I expect:
it works
['okra', '30', '0.10']
You are buying 30 okra for $3.00
However, if I run it in Idle I get
File "/home/louis/Code/cli.py", line 8, in <module>
food = arguments[0]
IndexError: list index out of range
Is this some weakness in idle, if I used VS code wouldn't do this?