[Python] How to make a list of character strings character by character

Sample code

Just pass it as an argument to list.

chars = list('aiueo')

print(chars)
# => ['a', 'i', 'u', 'e', 'o']

reference

-Create a list of character strings character by character with python and ruby -Miscellaneous memo storage

Recommended Posts

[Python] How to make a list of character strings character by character
How to write a list / dictionary type of Python3
How to shuffle a part of a Python list (at random.shuffle)
How to get a list of built-in exceptions in python
[Python] How to make a class iterable
[Python] How to convert a 2D list to a 1D list
[Python] How to invert a character string
Summary of how to use Python list
[Python] How to make a matrix of repeating patterns (repmat / tile)
[python] How to display list elements side by side
How to clear tuples in a list (Python)
[python] Create a list of various character types
Make a copy of the list in Python
[Python] How to put any number of standard inputs in a list
[Introduction to Python] How to sort the contents of a list efficiently with list sort
How to format a list of dictionaries (or instances) well in Python
[Python] How to use list 1
List of posts related to optimization by Python to docker
[Python] How to expand variables in a character string
How to make a Python package using VS Code
[Python] I want to make a nested list a tuple
How to save a table scraped by python to csv
Basics of PyTorch (2) -How to make a neural network-
Group by consecutive elements of a list in Python
How to pass the execution result of a shell command in a list in Python
[python] How to sort by the Nth Mth element of a multidimensional array
How to get a list of files in the same directory with python
[Python] Summary of eval / exec functions + How to write character strings with line breaks
How to make a Japanese-English translation
How to write a Python class
[Python] How to make an adjacency matrix / adjacency list [Graph theory]
How to identify the element with the smallest number of characters in a Python list?
How to make a slack bot
How to make a crawler --Advanced
How to make a recursive function
How to make a Python package (written for an intern)
python / Make a dict from a list.
How to develop in a virtual environment of Python [Memo]
How to display a list of installable versions with pyenv
How to get the last (last) value in a list in Python
[Python] How to use list 3 Added
How to make a deadman's switch
How to check in Python if one of the elements of a list is in another list
[Blender] How to make a Blender plugin
Python learning basics ~ How to output (display) a character string? ~
How to make a crawler --Basic
How to override a user-defined method generated by python swig
How to get a list of links from a page from wikipedia
How to connect the contents of a list into a string
[Python] How to delete rows and columns in a table (list of drop method options)
How to quickly count the frequency of appearance of characters from a character string in Python?
[Python] How to create a table from list (basic operation of table creation / change of matrix name)
When I got a list of study sessions in Python, I found something I wanted to make
How to pass the execution result of a shell command in a list in Python (non-blocking version)
How to determine the existence of a selenium element in Python
[Python] How to force a method of a subclass to do something specific
Try to get a list of breaking news threads in Python.
How to make a string into an array or an array into a string in Python
[Introduction to Python] How to split a character string with the split function
I tried to make a regular expression of "amount" using Python
[Introduction to Python] How to output a character string in a Print statement