int() built-in function in Python

preview_player
Показать описание

The int() build-in function in Python converts floating point numbers or strings to integers. In this Python tutorial we take a close look at the int() built-in function in Python. We demonstrate its use with our easy to follow examples of the int() function.
Рекомендации по теме
Комментарии
Автор

thank you, i like your video Master Code Online!!!😁😘

esmondlee
Автор

what about other uses of int()? Syntax should be: int(value, base). So did you cover the other arguments?

Narriz
Автор

Hello from France. If a number is negative, does the function int give the integer below? E.g int(-7.5) give you -7 or -8? Regards.

alainrogez
Автор

Can you tell me what's the problem in this code 👇
age = int(input("enter your age"))

memesschooling