← Questions

Add two decimal number strings

0
MetaCodingLast asked Jul 2025

Add two non-negative numbers given as strings and return the sum as a string, digit by digit with a carry. Then support a decimal point: pad the fractional parts to the same length, add from the right across the point, and trim the result.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding