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
  How to change odd to even numbers in the list? plumberpy 8 409 Aug-08-2021, 11:07 AM
Last Post: plumberpy
  Convert each element of a list to a string for processing tester_V 6 759 Jun-16-2021, 02:11 AM
Last Post: tester_V
Question convert unlabeled list of tuples to json (string) masterAndreas 4 1,735 Apr-27-2021, 10:35 AM
Last Post: masterAndreas
Star Convert Bytearray into List using list() Shlok 2 621 Feb-18-2021, 10:44 AM
Last Post: deanhystad
  convert List with dictionaries to a single dictionary iamaghost 3 766 Jan-22-2021, 03:56 PM
Last Post: iamaghost
  adding numbers in a list Nickd12 2 696 Jan-15-2021, 12:46 PM
Last Post: Serafim
Sad Convert python list to dictionary akanowhere 6 1,000 Dec-27-2020, 09:26 PM
Last Post: Pedroski55
  convert list to five columns dataframe in sequence tonycat 2 842 Sep-29-2020, 06:47 AM
Last Post: tonycat
  Print max numbers in a list jimmoriarty 1 635 Sep-25-2020, 07:29 AM
Last Post: DPaul
  importing a list of numbers into python script barrypyth 8 1,454 Aug-22-2020, 09:10 PM
Last Post: barrypyth

Forum Jump:

User Panel Messages

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