Bottom Page

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?
İmage
Quote
#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.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  homework NZedMarine 1 112 Nov-23-2018, 12:35 AM
Last Post: ichabod801
  help with homework lga13 3 135 Nov-19-2018, 02:32 PM
Last Post: Larz60+
  help with homework the_last 10 312 Oct-29-2018, 06:20 PM
Last Post: nilamo
  HOMEWORK HELP abdullahali 1 202 Sep-24-2018, 09:31 PM
Last Post: nilamo
  Homework help abdullahali 4 194 Sep-17-2018, 05:19 PM
Last Post: wavic
  HOMEWORK HELP abdullahali 1 229 Sep-17-2018, 06:58 AM
Last Post: Mekire
  [split] f1(), f2() lambda functions addition baby_quant 8 290 Sep-14-2018, 04:14 AM
Last Post: baby_quant
  Homework blabla44 3 328 Aug-20-2018, 11:45 AM
Last Post: ichabod801
  Homework help RPC 5 505 Jun-17-2018, 05:39 AM
Last Post: RPC
  Working with lists homework Otaku2 7 816 Jun-06-2018, 03:40 AM
Last Post: hf8bm

Forum Jump:


Users browsing this thread: 1 Guest(s)