1) What is the outcome? print(math.ceil(1.4)) a) 3 b) 2 c) 1 d) 6 2) What is the outcome? print(math.ceil(5.3)) a) 6 b) 3 c) 2 d) 1 3) What is the outcome? print(math.ceil(-5.3)) a) -5 b) 6 c) 2 d) 3 4) What is the outcome? print(math.ceil(22.6)) a) -5 b) 6 c) -2 d) 23 5) What is the outcome? print(math.fabs(-66.43)) a) 66.43 b) 09.88 c) -2.00 d) 23.87 6) What is the outcome? print(math.fabs(-7)) a) -66.43 b) 09.88 c) 7.0 d) 23.87 7) What is the outcome? print(math.floor(0.6)) a) 1 b) 0 c) 1.0 d) 0.2 8) What is the outcome? print(math.floor(1.4)) a) 1 b) 0 c) 1.0 d) 2.0 9) What is the outcome? print(math.floor(5.3)) a) 6 b) 5 c) 5.0 d) 6.0 10) What is the outcome? print(math.floor(-5.3)) a) -6 b) 5 c) 5.0 d) 6.0 11) What is the outcome? print(math.floor(22.6)) a) 22.0 b) 23 c) 23.0 d) 22 12) What is the outcome? print(math.fmod(20, 4)) a) 0.0 b) 0.6 c) 0.5 d) 0.1 13) What is the outcome? print(math.fmod(20, 3)) a) 0.0 b) 2.0 c) 3.0 d) 0.1 14) What is the outcome? print(math.fmod(15, 6)) a) 0.0 b) 2.0 c) 3.0 d) 0.1 15) What is the outcome? print(math.fmod(-10, 3)) a) -1.0 b) -2.0 c) 1.5 d) 1.2 16) Which is the correctly displayed format for printing the date? a) year, day, month b) day, month, year c) month, day, year d) year, month,day 17) What is the correctly format to output using the .now() property? a) year, month, day, hour, minute, second, and microsecond. b) day, month, year, minute, second, and microsecond. c) month, day, year, minute, hour, and microsecond d) hour, minute, microsecond, day, year, and month 18) Choose the option that outputs a random number between 3 and 8. a) print(random.randrange(2, 9)) b) print(random.randrange(3, 10)) c) print(random.randrange(3, 9)) d) print(random.randrange(0, 9)*2) 19) Choose the option that outputs a random number between 3 and 9. a) print(random.randint(2, 9)) b) print(random.randint(3, 10)) c) print(random.randint(3, 9)) d) print(random.randint(0, 9)*2) 20) Choose the option that outputs a random number between 0 and 10. a) print(random.randrange(0, 11)) b) print(random.randrange(0, 12)) c) print(random.randrange(0,-14)) d) print(random.randrange(0, 11.5)) 21) Choose the option that outputs a random number between 0 and 11. a) print(random.randint(0, 11)) b) print(random.randint(0, 12)) c) print(random.randint(0,-14)) d) print(random.randint(0, 11.5)) 22) Choose the option that outputs a random number between 15 and 35. a) print(random.randrange(0, 37)) b) print(random.randrange(15, 36)) c) print(random.randrange(15,38)) d) print(random.randrange(15,35)) 23) Choose the option that outputs a random number between 15 and 36. a) print(random.randint(0, 37)) b) print(random.randint(15, 36)) c) print(random.randint(15,38)) d) print(random.randint(15,35)) 24) Choose the option that outputs a random number between 54 and 56. a) print(random.randrange(54, 57)) b) print(random.randrange(54, 56)) c) print(random.randrange(54, 58)) d) print(random.randrange(53, 55)) 25) Choose the option that outputs a random number between 54 and 57. a) print(random.randint(54, 57)) b) print(random.randint(54, 56)) c) print(random.randint(54, 58)) d) print(random.randint(53, 55))
0%
Python Game!
공유
공유
공유
만든이
Leonorperez2929
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
게임쇼 퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?