Fahri Reza

u/dozymoe@mastodon.social
0 posts · 6 comments

Recent posts

No posts.

Recent comments

@EveryMuffinIsNowEncrypted i maybe wrong

input() is a python function that accepts arguments and returns value of type string.

int() and float() are special type of functions called constructor, magical.

int, or integer, on itself is a datatype like str, or string, is a datatype, to create an int you'd use its costructor int('23') something like that

int is a builtin datatype, so by typing 23, you already have an instance of int