about | help | code help+videos | done | prefs |
Taylor Swift is coming to Australia (Eeeeeeeee!!!) and has concerts in Sydney and Melbourne. The ticket prices are stored in a list named tayTay1 and the corresponding number of tickets sold are stored in a list named tayTay2. Define a function that when passed these two lists, returns the total $$$ Tay Tay generated. You can assume the two lists are of the same length. tay_tay_revenue([10, 20], [3000, 2000]) → 70000 tay_tay_revenue([79, 99, 139, 159, 199, 239, 309, 399], [1000000, 500000, 200000, 100000, 50000, 20000, 10000, 5000]) → 192015000 tay_tay_revenue([1], [100000]) → 100000 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 3 Post-solution available
Copyright Nick Parlante 2017 - privacy