728x90
반응형
//6051
a,b=map(int,input().split())
if a!=b:
print('True')
else:
print('False')
//6052
a=int(input())
print(bool(a))
//6053
a=bool(int(input()))
print(not a)
//6054
a,b=map(int,input().split())
if bool(a)==bool(b)==True:
print('True')
else:
print('False')
//6055
a,b=map(int,input().split())
if bool(a)|bool(b):
print('True')
else:
print('False')
//6056
a,b=map(int,input().split())
if bool(a)!=bool(b):
print('True')
else:
print('False')
//6057
a, b = input().split()
a = bool(int(a))
b = bool(int(b))
print(a==b)
//6058
a, b = input().split()
c= bool(int(a))
d= bool(int(b))
print( c==False and d==False )
//6059
n=int(input())
print(~n)
//6060
a,b=map(int,input().split())
print(a&b)
반응형
'CodeUp' 카테고리의 다른 글
코드업 6071~6080(파이썬 100제) (0) | 2021.07.17 |
---|---|
코드업 6061~6070(파이썬 100제) (0) | 2021.07.16 |
코드업 6041~6050(파이썬 100제) (0) | 2021.07.13 |
코드업 6031~6040(파이썬 100제) (0) | 2021.07.13 |
코드업 6021~6030(파이썬 100제) (0) | 2021.07.10 |