뒤로Decision and Repetition Structures in Python Programming
스터디 가이드 - 연습 문제
노트에서 생성된 연습문제로 지식을 시험해 보세요
- #1 객관식Which of the following best describes a decision structure in programming?
- #2 객관식Given the following code, what will be the output if the user enters 25 for 'hours' and 10 for 'pay_rate'? if hours > 40: overtime_hours = hours - 40 overtime_pay = overtime_hours * pay_rate * 1.5 gross_pay = 40 * pay_rate + overtime_pay else: gross_pay = hours * pay_rate print('The gross pay is $', format(gross_pay, ',.2f'), sep='')
- #3 객관식Which of the following Boolean expressions will evaluate to True if $x = 5$ and $y = 10$?
학습 가이드 - 플래시카드
기억력을 키우고 노트에서 만든 플래시카드로 핵심 개념을 고정하세요.
- Decision Structures and Boolean Logic21 질문
- Repetition Structures18 질문