Ubuntu 24.04 (Noble) ships Python 3.12 by default. Python 3.13 is not in the main Ubuntu repository. Install via deadsnakes PPA. For most projects, Python 3.12 (the default) is appropriate — upgrade to 3.13 only if specific 3.13 features are required.