Welcome to the Treehouse Community
Looking to learn something new?
seems to be a treehouse parsing nuance. error 'list object has no attribute .format()
def string_factory(strin, dic): new_list =  for i in dic: new_list.append(strin.format(**i)) print(new_list) return new_list
Tobias Mahnert89,413 Points
oh no, i found the mistake, just swap dic and strin in the method argument section. should be
def string_factory(dic, strin):
and you can remove the print statement
yes thats right!!!
Thanks. I new it was a parsing nuance ;b