title: How do I stop program from adding individual letters of a 1 element tuple?
body: <p>I created a program that is supposed to take a tuple input, change it into a list, join the elements of that list into a single string, and then replace any occurrence of the word dark with light. If the tuple has only one element it adds each letter instead of just taking the element. My code is below with the intended outcome.</p>
  
  <pre><code>def dark_light(tup):
      new_list=list(tup)
      single_string=', '.join(new_list)
      print(single_string.replace("dark", "light"))
  
  
  dark_light(("light", "dark", "light", "stop"))#light, light, light, stop
  dark_light(("darkness bidarkee", "ok"))# lightness lightee, ok
  dark_light(("darkroom bidarke"))#lightroom bilighte
  dark_light(("enough", "jokes")) #enough, jokes
  </code></pre>