Python Forum
Homework on addition with working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Homework on addition with working
#1
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]
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] f1(), f2() lambda functions addition baby_quant 8 3,714 Sep-14-2018, 04:14 AM
Last Post: baby_quant
  Working with lists homework Otaku2 7 4,972 Jun-06-2018, 03:40 AM
Last Post: hf8bm
  Working with lists homework (2) codellino 7 4,385 Feb-28-2018, 11:23 AM
Last Post: buran
  f1(), f2() lambda functions addition Danielk121 5 5,626 Dec-02-2017, 09:27 AM
Last Post: Danielk121

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020