Python Forum
Homework on addition with working - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: Homework on addition with working (/thread-12302.html)



Homework on addition with working - paperplanexx - Aug-19-2018

Hi all, I'm very new to programming and python is my very first language.
How to write a program in such that the working is shown as well?
[Image: En4zev6]


RE: Homework on addition with working - j.crater - Aug-19-2018

Hello, welcome to Python and the Forums!
There are many ways to tackle the task. I suggest you to start with writing pseuo code for the program. Or even diagram/flowchart first, if you need to get a better picture of how the program should work.
Then you can move on to transforming pseudocode to actual Python code.
You will like want to use divmod() function among others.
Feel free to ask (specific and descriptive) questions if you get stuck along the way.