0
Class bool
whenever we print the type( any obj)..it will give the respective class. for example my_boolean =True when I print(type(True)) output is class bool so can anyone tell how to see those class coding ..is der any guide..like how that class bool is formed or coded.
4 Respostas
+ 9
Enter:
help(bool)
in the Playground and see what happens ;)
+ 6
Does that answer your question or do you have some specific issue?
0
it is giving explanation of class bool.
0
No now I understood whatever data types we use.. that time we are creating instance of particular class .. and class which we use for our object is already coded and kept as built-in classes. Am I right ?