How to round a number up or down with Python

Posted on: January 3rd, 2023
By: Tadeo Lemus

Python has an in-built function called round()

random = 1.4


Output = 1

Here’s an article with more information:

Have any questions or comments? Write them below!

Leave a Reply

Your email address will not be published. Required fields are marked *