This article is part of in the series
Published: Tuesday 27th June 2023

Infinity In Python: How to Represent (And Use!) Infinite Numbers

In Python, infinity is termed an undefined ("indeterminate" is a better word) value that can be positive or negative. In this brief guide, we'll walk you through representing and using infinity in your Python programs.