Is the type function in Python a factory function? Is the same type of data a singleton?

Is the type function in

Python a factory function?
is the same type of data a singleton?

the code is shown in the following figure:

>>> f1 = 1
>>> f2 = 2
>>> type(f1) is type(f2)
True

the reference of type (F1) type (f2) in the above code is the same, so it should be a singleton, right? Ask for advice

Mar.12,2021
Menu