TelenkovDmitry hace 8 meses
padre
commit
aa1169f753
Se han modificado 1 ficheros con 16 adiciones y 0 borrados
  1. 16 0
      courses/python_oop/inheritance/object.py

+ 16 - 0
courses/python_oop/inheritance/object.py

@@ -0,0 +1,16 @@
+
+
+
+def main():
+    print(isinstance(int, object))
+    # print(object.__dict__)
+
+    ob = object()
+    print(ob.__str__())
+
+    int_object = int(8).bit_length()
+    print(int_object)
+
+
+if __name__ == '__main__':
+    main()