Copyright © tutorialspoint.com

# Python dictionary type() Function

## Description:

This function returns the type of the passed variable. If passed variable is dictionary then it would return a dictionary type.

## Syntax:

    type(dict)

## Parameters:

Here is the detail of parameters:

- dict: This is the dictionary.

## Example:

    #!/usr/bin/python

    dict = {'Name': 'Zara', 'Age': 7};
    print "Variable Type : %s" %  type (dict)

This produces following result:

    Variable Type : <type 'dict'>

Copyright © tutorialspoint.com