Write a python program that will take a string input from the user and make a list with symbols
Answers
Answered by
0
Answer:
Example: Convert String to Character Array Using extend()
This method uses extend() to convert string to a character array. It initializes an empty array to store the characters. extends() uses for loop to iterate over the string and adds elements one by one to the empty string.
Answered by
2
Answer:
To create a string, put the sequence of characters inside either single quotes, double quotes, triple quotes and then assign it to a variable. You can look into how variables work in Python in the python variables tutorial.
Hope it helps you
Similar questions