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

 

amgreyson@gmail.com > product
prev  |  next  |  chance

Given two factors, return their product. The second factor is guaranteed to be a whole number.


product(2, 5) → 10
product(-3, 4) → -12
product(7, 23) → 161

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

def product(factor1, factor2):

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

Copyright Nick Parlante 2017 - privacy