0

What is int()

questions

23rd Apr 2018, 7:47 PM
asutosh jena
asutosh jena - avatar
11 odpowiedzi
+ 2
Converts data type to integer
23rd Apr 2018, 7:50 PM
Toni Isotalo
Toni Isotalo - avatar
+ 2
Yeah. You can see it as a built-in function that does what Toni said
23rd Apr 2018, 7:54 PM
cyk
cyk - avatar
+ 1
thank u
23rd Apr 2018, 7:55 PM
asutosh jena
asutosh jena - avatar
+ 1
It definitely is NOT an object!!!! And if he insists have him look at the table on the page of this link https://docs.python.org/2/library/functions.html
23rd Apr 2018, 7:59 PM
cyk
cyk - avatar
+ 1
Yeah. Actually str(), float() and int() all of them returns objects.
23rd Apr 2018, 8:04 PM
Toni Isotalo
Toni Isotalo - avatar
+ 1
Baby dont hurt me, no more...
23rd Apr 2018, 8:11 PM
VcC
VcC - avatar
0
is int() a function ?
23rd Apr 2018, 7:51 PM
asutosh jena
asutosh jena - avatar
0
but i have a arguement with my friend and he says that it is not a function rather it is an object...i don't know who is right...
23rd Apr 2018, 7:57 PM
asutosh jena
asutosh jena - avatar
0
thanks dear...
23rd Apr 2018, 8:02 PM
asutosh jena
asutosh jena - avatar
0
So basically all of those are functions that create objects...
23rd Apr 2018, 8:05 PM
Danigamy
Danigamy - avatar
0
thank uh...
23rd Apr 2018, 8:05 PM
asutosh jena
asutosh jena - avatar