Python How To Convert Float To Int

preview_player
Показать описание
To convert a float to an int in Python, you need to use the int constructor method.

#pythontutorial #python
Рекомендации по теме
Комментарии
Автор

*This* video features a mistake, *intNum* would be *3*, *not* the *3.5* that I both feature on the screen and say in the video.

jakubication
Автор

Won't intNum be 3? Isn't that what you just said?

minerscale