Fortran is not a better choice unless you are only thinking about the immediate needs of the course. In the wider world, Python is going to be a lot more useful to the students.
Teach them numerical algorithms and have the students contribute to a better language's BLAS, LAPACK, or numerical library like numpy, jax, scipy, etc. Be part of the solution.
But for anything with a userbase of more than ~15 people, C/C++ are widely preferred.
First time I saw this claim was over 9 years ago.
I will bet you any amount of money you like Python will be more popular than Fortran in 5,10,20 and 30 years.