개행문자 포함해서 출력하기

eunsik LEE·2021년 5월 18일

콤마로 구분하고 sep='\n'를 이용.
print(max(a),a.index(max(a))+1,sep='\n')

profile
코딩공장

0개의 댓글