Def not working

Screen Link:

My Code:

def english_only(string):
    
    for character in string:
        if ord(character) > 127:
            return False
        else:
            return True 

print(english_only('I爱奇艺PPS -《欢乐颂2》电视剧热播'))

What I expected to happen:

True

What actually happened:

False

Replace this line with the output/error

From the Guided Project: Profitable App Profiles for the App Store and Google Play Markets

It would help if you included the link to the project/mission screen so that others can easily refer to it and even test your code themselves.

Secondly, based on just the code I would recommend checking out Encoding function - #4 by the_doctor because it is possible the issue you are running into is similar. (Hint: focus on the return statements)

Sorry! I thought I included the link it’s for the guided project, page 6 - I have figure it out via a friend!

Thank you and I will include it next time