Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1
- x,y = map(float,input().split())
- if y >= x**2 and y <=1 or\
- y <= -x**2 and y >2 -1:
- print("daxildir")
- else:
- print("daxil deyil")
- #2
- x,y = map(float,input().split())
- if y >= 1/x and y <=x or\
- y <= 1/x and y >= (-x -4):
- print("daxildir")
- else:
- print("daxil deyil")
- #3
- x,y = map(float,input().split())
- if y <=((x+1) **2 + y ** 2) or\
- y <= ((x-1)**2 + y ** 2) or\
- y >=-1 and y<= 1 and x>=-1 and x<= 1:
- print("daxildir")
- else:
- print("daxil deyil")
- #4
- x,y = map(float,input().split())
- r1,r2 = map(float,input().split())
- if (x**2 + y**2) <= r1 **2 and x<=0 and y>=0 or\
- (x**2 + y ** 2) >= r1 **2 and (x **2 + y ** 2) <= r2 **2 and y<=0 and x >= 0:
- print("daxildir")
- else:
- print("daxil deyil")
- #5
- x,y=map(float,input().split())
- if y<=x and y>=(x-2)**2-3 and y>=0 or y<=-x and y>=(x-2)**2-3 and y<=0:
- print("daxil")
- else:
- print("deyil")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement