Python Forum
list of strings to a single string
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
list of strings to a single string
#11
I do not have Windows box to test a code for compatibility
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#12
def func1(los):
    for i in los:
        print(i,end='')
    return pass

list1=['a','b','c']
func1(list1)
Reply
#13
Use Python code tags to preserve indentation
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to read module/class from list of strings? popular_dog 1 475 Oct-04-2023, 03:08 PM
Last Post: deanhystad
  Trying to understand strings and lists of strings Konstantin23 2 761 Aug-06-2023, 11:42 AM
Last Post: deanhystad
  problem in using int() with a list of strings akbarza 4 698 Jul-19-2023, 06:46 PM
Last Post: deanhystad
  Delete strings from a list to create a new only number list Dvdscot 8 1,532 May-01-2023, 09:06 PM
Last Post: deanhystad
  Need help on how to include single quotes on data of variable string hani_hms 5 2,027 Jan-10-2023, 11:26 AM
Last Post: codinglearner
  Help with Logical error processing List of strings dmc8300 3 1,084 Nov-27-2022, 04:10 PM
Last Post: Larz60+
  python sql query single quote in a string mg24 1 1,066 Nov-18-2022, 08:01 PM
Last Post: deanhystad
  Splitting strings in list of strings jesse68 3 1,766 Mar-02-2022, 05:15 PM
Last Post: DeaD_EyE
  Search multiple CSV files for a string or strings cubangt 7 8,034 Feb-23-2022, 12:53 AM
Last Post: Pedroski55
  Parse String between 2 Delimiters and add as single list items lastyle 5 3,352 Apr-11-2021, 11:03 PM
Last Post: lastyle

Forum Jump:

User Panel Messages

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