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

 

three_times_max


Write code that gives three times the maximum of the three variables x, y, and z.


three_times_max(5, 3, 1) → 15
three_times_max(1, 2, 4) → 12
three_times_max(1, 5, 20) → 60

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

def three_times_max(x, y, z):

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