Modified Python Code In The Below Python Code I Have Used One Of The String Function 3305249

Modified Python Code: In the below python code I have used one of the string function called “join” to concatenate the list values into one single word.