How to create three separate lists to hold the symbols, names, and values of at least five
Question:
How to create three separate lists to hold the symbols, names, and values of at least five cryptocurrencies (see the expected output below). Create an empty list to hold the names of the currency purchased. Use a variable to accumulate the total value of the purchase. Display the content of the three lists as a text-based menu. Prompt the user to enter a currency symbol from the list. Display the Name of the currency in a response message to the user that they have purchased one unit of Currency. Add the value of the currency to the accumulator variable. Continue to prompt and input the user's choice until they enter an 'x' to exit. Your program must validate the input; if an invalid symbol is entered, display an error message and redisplay the menu.
Sample output: (currency types and values obtained from www.bankrate.com/investing/types-of-cryptocurrency, feel free to change and customize for your own preferences).
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill