Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Merlin Stemmer
Merlin Stemmer
5,230 Points

I see absolutely nothing wrong with this one folks! Please help me. Thanks :)

I tested this in Visual Studio with my own list as the argument input and it worked... Not sure what's wrong :( Maybe I'm misunderstanding the question! thanks in advance!

def combiner(argument):
    a = ""
    b = 0
    c = ""
    d = 0
    for i in argument:
        if isinstance(i,str):        
            a += "".join(i)
    for i in argument:
        if isinstance(i,int):
            b += i
    for i in argument:
        if isinstance(i,float):
            d += i
    b += d
    c += a
    c += str(b)
    return c