In python what is int | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In python what is int

I am new so i dont know

11th Aug 2020, 6:36 AM
Darsh
Darsh - avatar
6 Answers
+ 4
Int is a data type used for converting a variable into integers. a = int(input()) This will make the input integer if possible.!!
11th Aug 2020, 6:57 AM
Tanmay Gupta
Tanmay Gupta - avatar
+ 3
Int() in python is used to convert a value to integer type.
11th Aug 2020, 6:40 AM
Arsenic
Arsenic - avatar
+ 2
Ok thx
11th Aug 2020, 6:41 AM
Darsh
Darsh - avatar
+ 2
Ohhk thanks Everyone
11th Aug 2020, 7:21 AM
Darsh
Darsh - avatar
+ 1
please do rhe python lessons . They give u a basic knowledge.
11th Aug 2020, 6:39 AM
Oma Falk
Oma Falk - avatar
+ 1
Int is a data type used for converting a certain data to integers. But you should go through the Python course before asking in between questions. https://www.sololearn.com/Course/Python/?ref=app
11th Aug 2020, 6:41 AM
Aman Kumar
Aman Kumar - avatar