프로그래밍 언어 활용난도 중상
10번 · 주관식 · 5점
다음 Python 프로그램의 실행 결과를 쓰시오.
def value_of(value):
if type(value) == type(100):
return 100
elif type(value) == type(""):
return len(value)
return 20
a = "100.0"
b = 100.0
c = (100, 200)
print(value_of(a) + value_of(b) + value_of(c))