Python Forum
convert numbers into list - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: convert numbers into list (/thread-33863.html)



convert numbers into list - lokesh - Jun-03-2021

Hi,

I need help to convert the following numbers into a list.

156788
987652
567891
234567

the output should be as below:

[156788,987652,567891,234567]

Appreciate your help.

Thx in advance


RE: convert numbers into list - menator01 - Jun-03-2021

A helpful link on python list
What have you tried?