1:
x = True
y = False
print(x and y)
print(x or y)
print(not x)
print(not y)
2:
x = int(input())
if 10 <= x <= 100:
print('YES')
else:
print('NO')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
1:
x = True
y = False
print(x and y)
print(x or y)
print(not x)
print(not y)
2:
x = int(input())
if 10 <= x <= 100:
print('YES')
else:
print('NO')