← 문제 목록
중급 Python 50P

딕셔너리 키 정렬 착각

다음 코드에서 의도와 다른 결과가 나오는 이유는?
PYTHON
scores = {'bob': 85, 'alice': 92, 'charlie': 78}
sorted_scores = sorted(scores)
print(sorted_scores)

답변

로그인 후 제출하기
0명 풀이 · 정답률 0%