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

 

simona1@sfusd.edu > getMaxOfTwo
prev  |  next  |  chance

Given two values, get the maximum of the two.


getMaxOfTwo(4, 8) → 8
getMaxOfTwo(3.14, 2.718) → 3.14
getMaxOfTwo(0, 0) → 0

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

def getMaxOfTwo(a,b):

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

Copyright Nick Parlante 2017 - privacy