About 496 letters

About 2 minutes

#list

Description: Convert type to list.

def list(x=0.0):
    '''
    Convert type to list

    :param x: A variable
    :return: The value converted to list
    '''

Example:

print(list((1, 2, 3, 4, 5)))
print(list({'Tom', 'Jerry', 'Spike', 'Tuffy'}))
print(list({'name':'Alice', 'age':18}))

>>> Establishing WebAssembly Runtime.

>>> Standby.

Powered by Shift.

Updated: 6/9/2025

Author: PlanC

Created: 6/9/2025