Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following commands will create a list?

a) list1 = list()
b) list1 = []
c) list1 = list([1, 2, 3])
d) all of the mentioned

Answer: d
Explanation: Execute in the shell to verify

Join The Discussion