Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- '''
- Escreva a sua solução aqui
- Code your solution here
- Escriba su solución aquí
- '''
- A , B = input().split()
- X = float(A)
- Y = float(B)
- if X == 0.0 and Y == 0.0 :
- print("Origem")
- elif X == 0.0 :
- print("Eixo Y")
- elif Y == 0.0 :
- print("Eixo X")
- elif X < 0.0 and Y < 0.0 :
- print("Q3")
- elif X > 0.0 and Y < 0.0 :
- print("Q4")
- elif X > 0.0 and Y > 0.0 :
- print("Q1")
- elif X < 0.0 and Y > 0.0 :
- print("Q2")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement