Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question on Join() function
#2
that's by design - the str you specify is separator, i.e. join() takes a iterable of strings and turns them in a single str, by adding separator between elements
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Question on Join() function - by sduvvuri - Jun-02-2019, 02:17 PM
RE: Question on Join() function - by buran - Jun-02-2019, 02:22 PM
RE: Question on Join() function - by perfringo - Jun-02-2019, 03:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Question on dir() function Soorya25 1 1,178 Jan-16-2023, 09:33 PM
Last Post: deanhystad
  Function not scriptable: Noob question kaega2 3 1,220 Aug-21-2022, 04:37 PM
Last Post: kaega2
  input function question barryjo 12 2,782 Jan-18-2022, 12:11 AM
Last Post: barryjo
  Question on None function in a machine learning algorithm Livingstone1337 1 2,378 Mar-17-2021, 10:12 PM
Last Post: supuflounder
  The difference between os.path.join( and os.sep.join( Pedroski55 2 9,526 Nov-17-2020, 08:38 AM
Last Post: Pedroski55
  Question in python function problem saratha 1 1,480 Jul-08-2020, 04:56 PM
Last Post: jefsummers
  question about python3 print function jamie_01 5 2,703 May-25-2020, 09:58 AM
Last Post: pyzyx3qwerty
  Question about the groupby function new_to_python 7 3,288 Feb-09-2020, 07:52 AM
Last Post: perfringo
  Question about list and while function doug2019 6 2,791 Oct-12-2019, 03:07 AM
Last Post: doug2019
  Threads join() question adam2020 4 2,638 Mar-19-2019, 09:30 PM
Last Post: adam2020

Forum Jump:

User Panel Messages

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