Coding Test/CodeUp
Codeup 6099번
밴나루
2021. 11. 11. 14:44
반응형
https://codeup.kr/problem.php?id=6069
[기초-조건/선택실행구조] 평가 입력받아 다르게 출력하기(py)
python언어기초100제v1.0 : @컴퓨터과학사랑, 전국 정보(컴퓨터)교사 커뮤니티/연구회 - 학교 정보(컴퓨터)선생님들과 함께 수업/방과후학습/동아리활동 등을 통해 재미있게 배워보세요. - 모든 내용
codeup.kr
a = input()
if (a == 'A'):
print("best!!!")
elif (a == 'B'):
print("good!!")
elif (a == 'C'):
print("run!")
elif (a == 'D'):
print("slowly~")
else:
print("what?")
728x90