We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0dd11c commit 71f6478Copy full SHA for 71f6478
README.md
@@ -16,7 +16,7 @@ Now use as class ProgressBar.
16
max = 30
17
progressbar = ProgressBar()
18
for n in range(0,max):
19
- progressbar.print(n,max)
+ progressbar.print(n,max-1)
20
time.sleep(1) # To see progress
21
```
22
@@ -25,7 +25,7 @@ for n in range(0,max):
25
26
27
number = multiprocessing.Value("i", 0)
28
-pr = multiprocessing.Process(target=progressbar.inThread, args=(number,max))
+pr = multiprocessing.Process(target=progressbar.inThread, args=(number,max-1))
29
pr.start()
30
# YOUR CODE GOES BELOW
31
# It needs to increment the ProgressBar number
0 commit comments