Calculating Starhub’s 2017 revenue growth
Using the below example and the provided information, calculate Starhub’s 2017 revenue growth, following the instructions in the comments.
Reminder (code from in class):
To see output, click run.
eyJsYW5ndWFnZSI6InIiLCJzYW1wbGUiOiIjIERhdGEgZnJvbSBTaW5ndGVsJ3MgZWFybmluZ3MgcmVwb3J0cywgaW4gTWlsbGlvbnMgb2YgU0dEXG5zaW5ndGVsXzIwMTcgPC0gMzgzMS4wXG5zaW5ndGVsXzIwMTggPC0gNTQzMC4zXG5cbiMgQ29tcHV0ZSBncm93dGhcbmdyb3d0aCA8LSBzaW5ndGVsXzIwMTggLyBzaW5ndGVsXzIwMTcgLSAxXG5cbiMgQ2hlY2sgdGhlIHZhbHVlIG9mIGdyb3d0aFxuZ3Jvd3RoIn0=
Exercise 1
To run your code, click run. It will let you know if your code is correct or not, and will offer hints on what to fix if needed. If you are stuck, you can see the solution by clicking Solution.
eyJsYW5ndWFnZSI6InIiLCJwcmVfZXhlcmNpc2VfY29kZSI6IiMgbm8gcGVjIiwic2FtcGxlIjoiIyBUaGVzZSBudW1iZXJzIHNob3cgU3Rhcmh1YidzIHJldmVudWVcbnN0YXJfMjAxNiA8LSAyMzk2LjdcbnN0YXJfMjAxNyA8LSAyNDAwLjdcblxuIyBBc3NpZ24gU3Rhcmh1YidzIHJldmVudWUgZ3Jvd3RoIHRvIHRoZSB2YXJpYWJsZSBncm93dGhcblxuXG4jIFByaW50IG91dCB0aGUgdmFsdWUgb2YgZ3Jvd3RoIiwic29sdXRpb24iOiIjIFRoZXNlIG51bWJlcnMgc2hvdyBTdGFyaHViJ3MgcmV2ZW51ZVxuc3Rhcl8yMDE2IDwtIDIzOTYuN1xuc3Rhcl8yMDE3IDwtIDI0MDAuN1xuXG4jIEFzc2lnbiBTdGFyaHViXFwncyByZXZlbnVlIGdyb3d0aCB0byB0aGUgdmFyaWFibGUgZ3Jvd3RoXG5ncm93dGggPC0gc3Rhcl8yMDE3IC8gc3Rhcl8yMDE2IC0gMVxuXG4jIFBya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