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

 

crehwinkel@frhsd.com python_functions > lowest
prev  |  next  |  chance

Write a function called lowest which returns the lowest number of the two numbers passed in to the function unless the two numbers are equal. If the two numbers are equal, then return a -10.


lowest(20, 20) → -10
lowest(3, 25) → 3
lowest(7, 1) → 1

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

def lowest(x, y):

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: 100

Copyright Nick Parlante 2017 - privacy