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

 

isolateValues


Given a positive two-digit integer, return the 10’s and the 1’s in a list. For example, given the integer 53, return the list [50, 3].


isolateValues(53) → [50, 3]
isolateValues(81) → [80, 1]
isolateValues(12) → [10, 2]

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

def isolateValues (anInt): # We always begin our Python code with a function header

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

Copyright Nick Parlante 2017 - privacy