Python Training _ 11

WONY_yoon·2025년 10월 16일
post-thumbnail

Dict Items Sum

아래와 같은 Dict 구조에서 모든 value 값의 합을 구하세요.

d = {'a': 17,'b': 114,'c': 247, 'd': 362, 'e': 220, 'f': 728, 'g': -283, 'h': 922}

출력결과 : 2327

0개의 댓글