8000 Improve output summary in the examples and recipes section by rhettinger · Pull Request #20285 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Improve output summary in the examples and recipes section #20285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 21, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
A bit clearer without periods
  • Loading branch information
rhettinger committed May 21, 2020
commit 7124af68e17830d5783363f7ebd71b02734a3c14
2 changes: 1 addition & 1 deletion Doc/library/random.rst
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ Simulation of arrival times and service deliveries for a multiserver queue::
service_completed = arrival_time + wait + service_duration
heappush(servers, service_completed)

print(f'Mean wait: {mean(waits):.1f}. Max wait: {max(waits):.1f}.')
print(f'Mean wait: {mean(waits):.1f} Max wait: {max(waits):.1f}')
print('Quartiles:', quantiles(waits, n=4))

.. seealso::
Expand Down
0