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

 

quotient


Write a method that receives two numbers, a numerator and a divisor. Your program should then divide the numerator by the divisor, and return the quotient.


quotient(17, 5) → 3
quotient(3, 6) → 0
quotient(11, 4) → 2

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

def quotient(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

Difficulty: 200 Post-solution available

Copyright Nick Parlante 2017 - privacy