Floats and Integers | How To Python
Автор: b001
Загружено: 2023-05-27
Просмотров: 51693
In this segment of How To Python, we discuss floating point numbers and integers in Python and many of the basic functions and operations that can be performed on them.
⭐ Join my Patreon: / b001io
💬 Discord: / discord
🐦 Follow me on Twitter: / b001io
🔗 More links: https://linktr.ee/b001io
Test Your Knowledge Answers:
Statement 1
print(type(1.3))
Output: class 'float'
Statement 2
x = 2 + 8.1
print(type(x))
Output: class 'float'
Statement 3
print(11 % 2)
Output: 1
Statement 4
print(5 != 5)
Output: False
Statement 5
print(round(1.54, 0))
Output: 2.0
Statement 6
print(int(59.6))
Output: 59
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: