Skip to content

Commit 732a483

Browse files
authored
Update example_3.py
1 parent c808972 commit 732a483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

understanding-asynchronous-programming/example_3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def main():
3838
if len(tasks) == 0:
3939
done = True
4040

41-
print("\nTotal elapsed time: {}".format(et()))
41+
print(f"\nTotal elapsed time: {et():.1f}")
4242

4343

4444
if __name__ == "__main__":

0 commit comments

Comments
 (0)