'How to create a python script that checks if a given point is inside a certain area?

I want to make a python script which checks this, but the point i will be using are (for example) x = 1290 to 1340 and y = 1460 to 1510 (this means that A = 1290 B = 1340 C = 1460 and D = 1510), i have already made a simple script but it needs me to write every single possible coordinate mannualy... here it is:

print ("")
print ("1923 1682")
print ("")
print ("Click below here to type!")

NFGCOORDINATES = (//here every single possible coordinate will come)
guess = str(input())

if guess in NFGCOORDINATES:
        print ("Coordinates are in NFG area")
        print ("")
        print ("Made by El_Capitano with love!")
else:
        print ("Coordinates are NOT in NFG area")
        print ("")
        print ("Made by El_Capitano with love!")

Anyone has tips to make this either easier or make a total different script?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source