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

 

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

Given two positive two-digit integers, return the "adding from the left" expression for computing the sum. That is, add the tens plus the ones. For example, given the integers 53 and 81, return '130 + 4'


addFromLeft(53, 81) → '130 + 4'
addFromLeft(12, 99) → '100 + 11'
addFromLeft(60, 44) → '100 + 4'

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

def addFromLeft(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