5)
a = int(input())
if a % 2 == 0: print(a + 2)
else: print(a + 1)
6)
if a > 0 and a > 9 or a < 0 and a < -9: print("No")
else: print("Ok")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
5)
a = int(input())
if a % 2 == 0: print(a + 2)
else: print(a + 1)
6)
a = int(input())
if a > 0 and a > 9 or a < 0 and a < -9: print("No")
else: print("Ok")