Skip to content

Instantly share code, notes, and snippets.

@edib
Last active December 16, 2022 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edib/4ce37984956e15fd1cb226c85dc47f8f to your computer and use it in GitHub Desktop.
Save edib/4ce37984956e15fd1cb226c85dc47f8f to your computer and use it in GitHub Desktop.
x, y = input("x ve y sayılarını girin: ").split()
x = int(x)
y = int(y)
if (x > 0 and y >0 ):
print("{} ve {} sayıları I. alandadır.".format(x,y))
elif (x < 0 and y > 0):
print("{} ve {} sayıları II. alandadır.".format(x,y))
elif (x < 0 and y < 0):
print("{} ve {} sayıları III. alandadır.".format(x,y))
elif (x > 0 and y < 0):
print("{} ve {} sayıları IV. alandadır.".format(x,y))
else:
print("{} ve {} sayıları orijindedir.".format(x,y))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment