x=int(input())  ##input으로 받은 자료는 문자형으로 인식함.
if(x%2==0):
    print("짝")
else:
    print("홀")

print((1==2) and (1==1))
print(((1==2) and (1==1)) or(3==3))  ##불(bool)연산자: 참과 거짓을 나타냄. or는 둘중에 하나만 맞아도 true.

a,c = map(int,input().split())
b=int(input())
if a>b and a>c:
    print(a)
elif b>c:
    print(b)
else:
    print(c)
    
a,c = map(int,input().split()) ##계산
b=int(input())
if b=='+':
    print(a+c)
elif b=='-':
    print(a-c)
elif b=='*':
    print(a*c)
elif b=='/':
    print(a/c)

a=int(input())
if a>90:
    print('나는')
    print('A')
elif a>=80:
    print('나는')
    print('B')
else:
    print('나는')
    print('C')

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: