Revenue Growth Analysis Comprehension
The question is here https://www.sololearn.com/learning/eom-project/1159/1107 My confusion from seeing other peoples code is the following: 1) The key in the dictionary is sales numbers, but nobody seems to be trying to get the key value by changing it to an integer and multipling the key by the ticket value to get total sales value? 2) if it is ticket sales, how is this number being presented? i.e. the first value in the dict "100-90": 25 This is a sale by a 25yr old, is it just one sale?. if it is really total sales then is it 10,090 ticket sales, or is it 100 minus 90 = 10 ticket sales or what is it? is it how you would write a decimal point in code for python? with a dash, i hope not. 3) This question and code that results in a correct answer seems to be calculated off counting that there is only one sale per age? and the key (ticket sales total) doesn't matter in fidning the difference in sales values? Thank you for any clarification you can give. As i am a bookkeeper learning python, the financial side just doesn;t make sense in the question and what i have read from other coders answers. Thank you Paul