강의

멘토링

커뮤니티

Inflearn Community Q&A

menthamin6296's profile image
menthamin6296

asked

Introduction to Python Algorithm Problem Solving (Coding Test Preparation)

9. Dice Game

if문 마지막에 else:

Written on

·

219

0

money=c*100

c가 가장 큰 값인지 알수 없기에

money=max(a,b,c)*100

이게 맞지 않을까요

코테 준비 같이 해요! python

Answer 2

1

codingcamp님의 프로필 이미지
codingcamp
Instructor

입력받는 3개의 값을 오름차순 정렬해서 a, b, c에 대응했기 때문에 c가 가장 큰 값입니다.

0

mentha님의 프로필 이미지
mentha
Questioner

tmp.sort()를 놓쳤었습니다 ! 답변 감사합니다!

menthamin6296's profile image
menthamin6296

asked

Ask a question