1. Problem
2. My Solution
print(eval(('-'.join(input("").split())))) # split 하지 않으면 3--2 실행되어 5가 출력됨
3. Others' Solutions
a,b,c=input()
print(int(a)-int(c))
4. Learned
1. Problem
2. My Solution
a = int(input())
b = input()
print(a*int(b[2]))
print(a*int(b[1]))
print(a*int(b[0]))
print(a*int(b))
3. Others' Solutions
a = input()
b = input()
for i in list(b[::-1])+[b]:print(eval(a+'*'+i)) # ['5', '8', '3'] + ['385]
# ['5', '8', '3', '385'] 에서 하나씩 i로 계산
A=int(input())
B=int(input())
print(A*(B%10),A*(B%100//10),A*(B//100),A*B)
4. Learned
1. Problem
2. My Solution
a,b,c = input() # 런타임 에러 발생
if 1 <= int(a) <= 10000 and 1 <= int(c) <= 10000:
print(int(a) + int(c))
print(int(a) - int(c))
print(int(a) * int(c))
print(int(a) // int(c))
print(int(a) % int(c))
else:
print("값을 제대로 입력하세요.(1 <= A, B <= 10,000)")
3. Others' Solutions
A,B = map(int,(input().split()))
print(A + B)
print(A - B)
print(A * B)
print(A // B)
print(A % B)
4. Learned