An active engineer explains how to convert a string list and a number list to each other in Python [for beginners]
I will explain how to convert a string list and a number list to each other in Python.
If you're not familiar with Python in the first place, read an article that explains what Python is and get a better understanding.
This article is based on the contents of the TechAcademy online boot camp Python course.
What is a string list?
A character string list is a list composed of character string data.
For example, ['aaa','bbb','ccc'] is a string list.
['1', '2', '3'] is also a string list. (Although it is a "number", it is a character string as a data type)
What is a numerical list?
A numeric list is a list of numeric data.
For example, [1, 2, 3], [0.1, 0.2, 0.3] is a list of numbers.