Displaying Info About Objects


  1. info()

    Display the value stored in a variable

    info(x)
    x Variable

    Example:

    x = 42
    info(x)
    
    Output:
    42


  2. type()

    Display the data type of a variable

    type(x)
    x Variable

    Example:

    x = 42
    type(x)
    
    Output:
    Number