hello people :slight_smile: I’m a newbie here and this may be a silly question for all of y’all but… Im stuck at one of the practice exercises for python, the prompt below asks this:
Import the is_palindrome() function from the file.

my code is this (and it doesnt work)

from fun_with_strings as fws
print(is_palindrome(“stressed desserts”))

why it doesn’t work?

If the instructions say:

import the is_palindrome() function from the file:

from fun_with_strings import is_palindrome

I hope that helps!

1 Like

I tried your same code, the one I posted it was the wrong one I didn’t mean that… :S sorry! but now it works

thanks you and sorry for the silly question