Python spagetti code problem

Færdiggjort Opslået Oct 18, 2015 Betalt ved levering
Færdiggjort Betalt ved levering

Display "hi"

Ask the user for a number

Goto step 7

Display n

Add 1 to n

If n is less than the number from the user, goto step 4

Goto step 9

Set n to 0

Goto step 4

Display "done"

Write a Python program which does the same thing this design does, without any jumping around do not use a goto!

Hint: there is a BUG in the design. Fix the bug.

Some steps in the design should be combined into one statement. Some steps may not be needed.

the desired output is:

hi

What's your number? 5

0

1

2

3

4

done

use if needed

[url removed, login to view]

need done today soon as possible, very simple program please place reasonable bid

Python

Projekt ID: #8713194

Om projektet

2 bud Remote projekt Aktiv Oct 18, 2015

Tildelt til:

it2051229

Hi I have read the read the requirement and I would like to do this project let me know if you are interested so I can start. thanks.

$20 USD in 0 dage
(14 bedømmelser)
3.8

2 freelancere byder i gennemsnit $23 timen for dette job

rafa0

A proposal has not yet been provided

$35 USD på 1 dag
(2 bedømmelser)
1.9
hectorroussille

Hello I am very familiar with python and can do this for tonight. I look forward to work wih you.

$25 USD på 1 dag
(0 bedømmelser)
0.0