Python Forum

Full Version: convert numbers into list
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
A helpful link on python list
What have you tried?