Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
convert numbers into list
#1
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
Reply
#2
A helpful link on python list
What have you tried?
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
Gaming Collection
Homepage
my-python
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Convert each element of a list to a string for processing tester_V 6 571 Jun-16-2021, 02:11 AM
Last Post: tester_V
Question convert unlabeled list of tuples to json (string) masterAndreas 4 1,227 Apr-27-2021, 10:35 AM
Last Post: masterAndreas
Star Convert Bytearray into List using list() Shlok 2 523 Feb-18-2021, 10:44 AM
Last Post: deanhystad
  convert List with dictionaries to a single dictionary iamaghost 3 649 Jan-22-2021, 03:56 PM
Last Post: iamaghost
  adding numbers in a list Nickd12 2 581 Jan-15-2021, 12:46 PM
Last Post: Serafim
Sad Convert python list to dictionary akanowhere 6 859 Dec-27-2020, 09:26 PM
Last Post: Pedroski55
  convert list to five columns dataframe in sequence tonycat 2 747 Sep-29-2020, 06:47 AM
Last Post: tonycat
  Print max numbers in a list jimmoriarty 1 545 Sep-25-2020, 07:29 AM
Last Post: DPaul
  importing a list of numbers into python script barrypyth 8 1,288 Aug-22-2020, 09:10 PM
Last Post: barrypyth
  convert array of numbers to byte array adetheheat 3 801 Aug-13-2020, 05:09 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020