Fahri Reza@mastodon.socialtoPython@programming.dev•Counting CPU Instructions in Python
0·
9 months agoAI crowd using python probably @Big_Boss_77 @rimu
Luknight
AI crowd using python probably @Big_Boss_77 @rimu
I think they meant the registration of what Exceptions a function can possibly throw.
@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