Why do Python's math.ceil() and math.floor() operations return floats instead of integers?

Описание к видео Why do Python's math.ceil() and math.floor() operations return floats instead of integers?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping

--

Chapters
00:00 Why Do Python'S Math.Ceil() And Math.Floor() Operations Return Floats Instead Of Integers?
00:39 Answer 1 Score 117
00:58 Accepted Answer Score 107
01:31 Answer 3 Score 20
01:42 Answer 4 Score 18
02:33 Answer 5 Score 5
02:44 Thank you

--

Full question
https://stackoverflow.com/questions/8...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/l...

--

Tags
#python #math

#avk47

Комментарии

Информация по комментариям в разработке