Skip to content

Commit 6202847

Browse files
Create J1.py
1 parent ae2eefe commit 6202847

File tree

1 file changed

+12
-0
lines changed
  • 2017/Junior Problems

1 file changed

+12
-0
lines changed

2017/Junior Problems/J1.py

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
list1 = []
2+
for x in range(2):
3+
ask = int(input(''))
4+
list1.append(ask)
5+
if list1[0]>=1 and list1[1]>=1:
6+
print(1)
7+
if list1[0]<=-1 and list1[1]>=1:
8+
print(2)
9+
if list1[0]<=-1 and list1[1]<=-1:
10+
print(3)
11+
if list1[0]>=1 and list1[1]<=-1:
12+
print(4)

0 commit comments

Comments
 (0)