

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
Back
ctrl+,
Next
ctrl+.
You've been working with a group of interns to build a damage meter for Fantasy Quest... it's not going well.
Fix the interns' syntax error. The calculate_dps function should accept two arguments, but due to a syntax error, it's being called with 4 instead. Use the proper delimiter for thousands so that the numbers are still easy to parse visually.
The two numbers should be:
damage: 8 million, time: 45damage: 10 million, time: 49Focus Editor
Alt+Shift+]
Become a member to Submit
Become a member to Run
Become a member to view solution