{ "metadata": { "kernelspec": { "name": "python", "display_name": "Python (Pyodide)", "language": "python" }, "language_info": { "codemirror_mode": { "name": "python", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8" } }, "nbformat_minor": 4, "nbformat": 4, "cells": [ { "cell_type": "markdown", "source": "This is about the simplest way you can do the problem. Each line is its own solution, with no variables used; just \"hardcoded\" numbers for the whole shebang.", "metadata": {} }, { "cell_type": "code", "source": "128*(12345-10000)", "metadata": { "trusted": true }, "outputs": [ { "execution_count": 1, "output_type": "execute_result", "data": { "text/plain": "300160" }, "metadata": {} } ], "execution_count": 1 }, { "cell_type": "code", "source": "128*(56789-10000)", "metadata": { "trusted": true }, "outputs": [ { "execution_count": 4, "output_type": "execute_result", "data": { "text/plain": "5988992" }, "metadata": {} } ], "execution_count": 4 }, { "cell_type": "code", "source": "", "metadata": { "trusted": true }, "outputs": [], "execution_count": null } ] }