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

 

jgreenawalt@ccboe.com ccpspython > biggestBat
prev  |  next  |  chance

Two bats fly into a bar. The first one says I'm bigger than you. The second ones says I'm the biggest bat. The bartender happens to have a Python scale used to print the larger of two bat weights.


biggestBat(31, 24) → 31
biggestBat(4, 7) → 7
biggestBat(51, 31) → 51

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

def biggestBat( bat1, bat2):

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

Difficulty: 120 Post-solution available

Copyright Nick Parlante 2017 - privacy