x = int(input()) # x ∈ Z
if x < 0:
x = abs(x)
if 99 < x < 10000 and x % 2 == 1:
print('TRUE')
else:
print('FALSE')
Объяснение:
n = abs(int(input()))
if (n > 99) and (n < 1000) and (n % 2 != 0):
print("True")
print("False")
x = int(input()) # x ∈ Z
if x < 0:
x = abs(x)
if 99 < x < 10000 and x % 2 == 1:
print('TRUE')
else:
print('FALSE')
Объяснение:
n = abs(int(input()))
if (n > 99) and (n < 1000) and (n % 2 != 0):
print("True")
else:
print("False")