Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- X, Y = input().split()
- X, Y = int(X), int(Y)
- if X == 0 or Y == 0:
- break
- if X > 0 and Y > 0:
- print("primeiro")
- if X > 0 and Y < 0:
- print("quarto")
- if X < 0 and Y > 0:
- print("segundo")
- if X < 0 and Y < 0:
- print("terceiro")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement