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 c808972 commit 732a483Copy full SHA for 732a483
understanding-asynchronous-programming/example_3.py
@@ -38,7 +38,7 @@ def main():
38
if len(tasks) == 0:
39
done = True
40
41
- print("\nTotal elapsed time: {}".format(et()))
+ print(f"\nTotal elapsed time: {et():.1f}")
42
43
44
if __name__ == "__main__":
0 commit comments