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

 

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

Given a two-digit positive integer and a one-digit positive integer, return the partial products expression. For example, given the inputs 23 and 9, return the expression '180 + 27'


partialProducts(53, 5) → '250 + 15'
partialProducts(81, 2) → '160 + 2'
partialProducts(12, 9) → '90 + 18'

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

def partialProducts(twoDigitFactor, oneDigitFactor):

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: 150 Post-solution available

Copyright Nick Parlante 2017 - privacy