Question #255

What is the output of the code snippet below?
print(list("hello"))

When creating a list from a string with the list() function, a new list is returned where every character on the string is an element. (programiz.com/python-programming/methods/built-in/list)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵