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 a88ddd2 commit e01bf4fCopy full SHA for e01bf4f
src/doc/en/thematic_tutorials/numerical_sage/mpi4py.rst
@@ -40,7 +40,7 @@ example. Create a script with the following code in a file ``mpi_1.py``
40
from mpi4py import MPI
41
comm = MPI.COMM_WORLD
42
print("hello world")
43
- print("my rank is: %d"%comm.rank)
+ print(f"my rank is: {comm.rank}")
44
45
To run it you can do (from the command line in your Sage
46
directory)
0 commit comments