Page 1 of 1

in python please

Posted: Sun May 15, 2022 12:28 pm
by answerhappygod
in python please
In Python Please 1
In Python Please 1 (39.54 KiB) Viewed 54 times
Complete the following function which concatenates all strings of a given list of strings as exemplified by the tests at the end. # Purpose: concatenate all strings of a given list L of strings. # For example, if I = ["hello", "", "world") then concat(L) returns "hello worla" def concat(L): # Tests print(concat(("hello", " ", "world"])) # print out hello world print(concat(["ITS", "", "100"])) # print out its 100