강의

멘토링

커뮤니티

Inflearn Community Q&A

calicedev's profile image
calicedev

asked

Introduction to Python Algorithm Problem Solving (Coding Test Preparation)

2. Cut the LAN cable (decision algorithm)

lasgest에 관한 질문입니다.

Written on

·

210

0

안녕하세요 항상 좋은 강의 감사합니다.

앞부분의 for문에서 largest를 구할때 아래와 같이 하지 않으신 이유를 알 수 있을까요? 

for _ in range(k):
    Line.append(int(input())
largest=max(Line)
python코테 준비 같이 해요!

Answer 1

0

codingcamp님의 프로필 이미지
codingcamp
Instructor

안녕하세요^^

그냥 입력받으면서 바로 구할려고 그렇게 했던 겁니다.

calicedev's profile image
calicedev

asked

Ask a question