human
I am working on the file "Python/Python Language Basics.ipynb".
The first task is:
Everything is represented by objects in python or relation among objects. Every object has a value, type, identity. Identity can be thought of as address of object in memory which never changes. The 'is' operator compares the identity of the objects. Type of an object is also unchangable.<br>
List of types available in python<ol>
<li>None -> Objects of type None have value None</li>
<li>NotImplemented -> Same as None but it is returned when methods do not implement the operations on the operand</li>
<li>Elipses -> Singled value accessed using ... or Ellipses. It contains int, bool, float(Real), complex </li>
<li>Sequences -> We can use len() to find number of itemsin the sequencem, also support slicing. These are strings. Tuples, Bytes. ord() converts string to int, chr() converts char to int, str.encode() to convert str to bytes and bytes.decode() to convert bytes to str. Mutable sequences are Lists, Byte Arrays</li>
<li>Set types -> They cannot be indexed by subscripts only iterated, unique with no repetitions. These are sets and frozen sets</li>
<li>Mapping -> Dictionaries</li>
</ol>
User definded functions
<ul>
<li>\__doc\__ -> The description of the object</li>
<li>\__name\__ -> It tells the function's name </li>
<li>\__qualname\__ -> It shows the path from a module's global scope to a class.</li>
<li>\__module\__ -> name of module function was defined in </li>
<li>\__code\__ </li>
<li>\__globals\__ -> reference to the global variables of a function</li>
<li>\__dict\__ -> Namespace supporting arbitrary functions attributes</li>
<li>\__closure\__ -> None or tuple of cells containing binding of function's free variables</li>
</ul>
<br>
Instance methods
<ul>
<li>\__self\__ -> It is the class instance object</li>
<li>\__doc\__</li>
<li>\__name\__</li>
<li>\__module\__</li>
<li>\__bases\__ -> Tuples containing the base classes</li>
</ul>
<br>
Generator functions -> which uses yield. It return an iterator object which can be used to execute the body of the function. <BR>
async def is called a coroutine...
Can you write Python program for it?
 ... Give me a Python program to find number of itemsin the sequencem, also support slicing?
assistant
#Here is Python program to find number of itemsin the sequencem, also support slicing.

class Meta(type):
    pass
class MyClass(metaclass = Meta):
    pass
class MySubclass(MyClass):
    pass