Python Forum
Generating a list and a tuple
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generating a list and a tuple
#4
(Mar-15-2018, 12:09 AM)Truman Wrote: Write a program which accepts a sequence of comma-separated numbers from console and generate a list and a tuple which contains every number.

The input is not formatted as comma-separated values. So you can't split it by a comma because there is no any.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Messages In This Thread
Generating a list and a tuple - by Truman - Mar-15-2018, 12:09 AM
RE: Generating a list and a tuple - by micseydel - Mar-15-2018, 03:06 AM
RE: Generating a list and a tuple - by Truman - Mar-15-2018, 08:54 PM
RE: Generating a list and a tuple - by wavic - Mar-15-2018, 09:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  function for generating graph bar from list Paulman 4 1,804 Nov-11-2021, 09:00 AM
Last Post: ibreeden
  Removing existing tuples from a list of tuple Bruizeh 4 2,794 May-15-2021, 07:14 PM
Last Post: deanhystad
  list of list to list of tuple? student8 2 2,958 Nov-14-2017, 08:06 AM
Last Post: buran

Forum Jump:

User Panel Messages

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