What does 'inf' mean?

I keep noticing this but I don’t know what its for.

You may need to be more specific. Where have you seen inf?

https://www.codecademy.com/paths/computer-science/tracks/cspath-graph-search-algorithms/modules/cspath-advanced-graph-search-algorithms/lessons/a-star-python/exercises/a-star-python-pathway

Line 7

It’s a constant similar to pi.
I found this definition:

math. inf

A floating-point positive infinity. (For negative infinity, use -math.inf .) Equivalent to the output of float('inf') .

New in version 3.5.

here: https://docs.python.org/3/library/math.html