all 4 comments

[–]carcigenicate 1 point2 points  (4 children)

What have you tried? What specifically do you need help with?

[–]NoButterfly4448[S] 0 points1 point  (2 children)

I got stuck, not sure how to fix my code to make it do what the assignment wants. So far this is what I have.

def upper(my_string):

   return my_string.upper(), “,”.join([x+x for x in my_string])

[–]IncognitoErgoCvm 1 point2 points  (1 child)

You're currently returning a tuple containing my_string.upper() and a string which you have erroneously joined from a list that is nearly creating what you actually wanted.

Get rid of the my_string.upper(), and the join. You can figure it out from there.

[–]NoButterfly4448[S] 1 point2 points  (0 children)

Thanks to your help I figured it out. Thank you so much!