Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # coding: utf-8
- # Unidade P1
- # Programacao 1, 2014.1 Pedro Paulo
- x = float(raw_input())
- y = float(raw_input())
- if x == 0 or y ==0:
- print "Sobre eixo."
- elif x > 0 and y > 0:
- print "Primeiro quadrante."
- elif x < 0 and y > 0:
- print "Segundo quadrante."
- elif x < 0 and y < 0:
- print "Terceiro quadrante."
- else:
- print "Quarto quadrante."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement