id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

tmhscs@gmail.com python > logic_calculateScore
prev  |  next  |  chance

Write a method that will calculate your score when you beat a Mario level. Your score in Mario is 100 for every coin you collected plus how much time you had remaining.


logic_calculateScore(1, 300) → 400
logic_calculateScore(2, 250) → 450
logic_calculateScore(4, 50) → 450

...Save, Compile, Run (ctrl-enter)

def logic_calculateScore(coins, time):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Post-solution available

Copyright Nick Parlante 2017 - privacy