Skip to content
Snippets Groups Projects
Commit 9d78894c authored by rejenver's avatar rejenver
Browse files

Upload New File

parent 40a190c7
Branches
No related tags found
No related merge requests found
import sys
print('몇 번 반복할까요? : ')
limit = int(input())
if (limit <= 0):
print('입력값이 0보다 작습니다.')
sys.exit(0)
while limit > 0 :
print('{0}회 반복.'.format(limit))
limit = limit - 1
print('반복이 종료되었습니다.')
33
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment