카타 8급 Student's Final Grade

Jmnote (토론 | 기여)님의 2019년 1월 28일 (월) 16:20 판 (새 문서: ==개요== {{카타 헤더}} {{카타 8급-1}} |} ==Python== 분류: Python <source lang='python'> def final_grade(exam, projects): if exam >= 90 or projects > 10: return 100...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

카타 8급 C
# 🔗 문제 풀이

틀:카타 8급-1

2 Python

def final_grade(exam, projects):
    if exam >= 90 or projects > 10: return 100
    if exam >= 75 and projects >= 5: return 90
    if exam >= 50 and projects >= 2: return 75
    return 0
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}