Python - Variables and Dynamic Typing
Which of the following code snippets correctly demonstrates changing a variable's type from string to list in Python?
text is a string.list(text) converts the string into a list of characters.list() converts strings to lists. [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions