강의

멘토링

커뮤니티

Inflearn Community Q&A

josohyun05204895's profile image
josohyun05204895

asked

Introduction to Python for Programming and Data Science

Lab: Condition and Loop #1

숫자 입력

Written on

·

227

0

print('숫자를 맞춰보세요 (1~100)')

에서 

100이 아니라 99아닌가요? ....

bigdatapython

Answer 2

0

josohyun0520님의 프로필 이미지
josohyun0520
Questioner

감사합니다 :)

0

TeamLab님의 프로필 이미지
TeamLab
Instructor

Randint 의 함수정의 재미있게도 아래와 같습니다.

random.randint(ab)

Return a random integer N such that a <= N <= b. Alias for randrange(a, b+1).

josohyun05204895's profile image
josohyun05204895

asked

Ask a question