Commits

ronald martinez committed 3ae91b3

convert list to str when return possible values

Comments (0)

Files changed (1)

spelling_check.py

                                         (not value in return_values):
                                     return_values.append(value)
 
-                return word, return_values
+                return '%s: %s' % (
+                    word,
+                    ' '.join([str(x) for x in return_values])
+                )
+
             else:
                 return '%s is correct' % word