Skip to content

Commit

Permalink
Add kattis prob quadrant in python3
Browse files Browse the repository at this point in the history
  • Loading branch information
iandioch committed Oct 2, 2017
1 parent ae1e2dd commit dbcd390
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions kattis/quadrant/solution.py
@@ -0,0 +1,13 @@
x = int(input())
y = int(input())

if x > 0:
if y > 0:
print(1)
else:
print(4)
else:
if y > 0:
print(2)
else:
print(3)

0 comments on commit dbcd390

Please sign in to comment.