# Type your code here. 
file_name = input().strip()
lower = input().strip()
upper = input().strip()

file = open(file_name, 'r') 
words = file.readlines()
file.close() 


for word in words: 
    word = word.strip()

    if lower <= word <= upper: 
        print(f"{word} - in range")
    else: 
        print(f"{word} - not in range")


print(end= '')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: