You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
교수님, 강의 노트에서 여러 조건을 처리할 때 elif를 사용한다고 배웠습니다. 단순히 if문을 여러개 나열하는 것과 비교했을 때, elif를 사용하면 앞의 조건이 참일 경우 뒤의 조건들을 아예 검사하지 않고 넘어가기 때문에 프로그램의 실행 속도나 효율성 측면에서 더 유리하다고 이해해도 될까요?