Network disconnected
Description
https://docs.python.org/3/library/random.html?highlight=random.randint#random.randint 에서 random.randint
의 활용법을 확인하고, 2번째 줄에 코드를 추가해서 random_number
가 2보다 크거나 같고, 5보다 작거나 같은 임의의 정수를 가지도록 만들어 보세요.
공식 문서를 참조하여 random.randint(a, b)
에 대해 알아보세요.
Question type: Fill in the blank
- You need to fill in the blank with the appropriate code.
- You cannot modify the given code.
- An error message will appear in the result if you leave the blank empty.
1
2
3
4
import random
random_number =
print(random_number)
Result
Stop
Result of [Run Test] or [Submit] will be displayed here
내가 제출한 코드가 왜 틀렸는지 프로그래머스 AI에게 물어보세요.
제출 후 채점하기를 눌러 30점 이상인 경우 물어볼 수 있어요.
베타 기간 동안에는 한 문제당 1번만 물어볼 수 있어요.
베타 기간 동안에는 한 문제당 1번만 물어볼 수 있어요.