Created
March 18, 2011 20:50
-
-
Save symtkn/876812 to your computer and use it in GitHub Desktop.
Koordinatları verilen noktanın,koordinat düzlemindeki bölgesi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: cp1254 -*- | |
#!/usr/bin/python | |
def koordinat_bul(x,y): | |
if x>0 & y>0: | |
print"1.bölge" | |
elif x<0: | |
if y>0: | |
print"2.bölge" | |
else: | |
print"3.bölge" | |
elif x<0 & y<0: | |
print"4.bölge" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment