On 1/4/2019 4:04 AM, iamybj--- via Python-list wrote:
In fact, there is only 3 types in all prigramming languages.
'Category' would be a better term. Better said might be: "One can usefully group types/classes of values/objects into 3 categories."
Primitive type: int, string, bool, char.... Complex type: struct or class Array Type: int[10], string[100], struct[1000]
And tuples are an array class, in particular an immutable and and therefore hashable array, and therefore possible members of sets and dict keys.
-- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list