PYTHONPOOL Telegram 256
⚠️ Daily Python Facts ⚠️

The math.ceil() method rounds a number upwards to its nearest integer, and the math.floor() method rounds a number downwards to its nearest integer, and returns the result

import math

x = math.ceil(1.4)
y = math.floor(1.4)

print(x) # returns 2
print(y) # returns 1


- @pythonpool -



tgoop.com/pythonpool/256
Create:
Last Update:

⚠️ Daily Python Facts ⚠️

The math.ceil() method rounds a number upwards to its nearest integer, and the math.floor() method rounds a number downwards to its nearest integer, and returns the result

import math

x = math.ceil(1.4)
y = math.floor(1.4)

print(x) # returns 2
print(y) # returns 1


- @pythonpool -

BY Python Pool | Python Course | Machine Learning | Data Science Tutorials | Artificial Intelligence | Computer Science Programming


Share with your friend now:
tgoop.com/pythonpool/256

View MORE
Open in Telegram


Telegram News

Date: |

End-to-end encryption is an important feature in messaging, as it's the first step in protecting users from surveillance. As five out of seven counts were serious, Hui sentenced Ng to six years and six months in jail. Clear 3How to create a Telegram channel? The group also hosted discussions on committing arson, Judge Hui said, including setting roadblocks on fire, hurling petrol bombs at police stations and teaching people to make such weapons. The conversation linked to arson went on for two to three months, Hui said.
from us


Telegram Python Pool | Python Course | Machine Learning | Data Science Tutorials | Artificial Intelligence | Computer Science Programming
FROM American