← BYTES
Python·Starter·Ref: 6.1.3

What is the output of type([]) in Python?

Have a question about this video? Mention reference 6.1.3 when you contact us.

a.<class 'dict'>
b.<class 'array'>
c.<class 'tuple'>
d.<class 'list'>
[] creates an empty list, and type() reports its class as <class 'list'>.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES613#Python