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

 

amgreyson@gmail.com algebra-1 > isolateTwoValues
prev  |  next  |  chance

Given two positive two-digit integers, return the 10’s and the 1’s for the first integer, followed by the 10's and 1's for the second integer, in a list. For example, given the integers 53 and 81, return the list [50, 3, 80, 1].


isolateTwoValues(53, 81) → [50, 3, 80, 1]
isolateTwoValues(12, 99) → [10, 2, 90, 9]
isolateTwoValues(60, 44) → [60, 0, 40, 4]

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

def isolateTwoValues(input1, input2):

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