Q:

Write a Python program to concatenate elements of a list

0

Write a Python program to concatenate elements of a list. 

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

color = ['red', 'green', 'orange']
print('-'.join(color))
print(''.join(color))

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now