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

 

prod3digits


Given a 3-digit integer n, return the product of its digits.


prod3digits(123) → 6
prod3digits(411) → 4
prod3digits(909) → 0

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

def prod3digits(n):

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

Copyright Nick Parlante 2017 - privacy