Skip to content

Commit 6ee0758

Browse files
Update if-else
1 parent ceb902a commit 6ee0758

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

if-else

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,4 @@ Explanation 1
4949

5050
-----------------------------------------------------------------------------------------------------------------------------------
5151

52-
#!/bin/python3
5352

54-
55-
import sys
56-
57-
num = int(input())
58-
n = num % 2
59-
60-
if n == 0 and (2<= num <=5):
61-
print('Not Weird')
62-
elif n == 0 and (6<= num <=20):
63-
print('Weird')
64-
elif n == 0 and num > 20:
65-
print("Not Weird")
66-
elif num % 2 != 0:
67-
print('Weird')

0 commit comments

Comments
 (0)