diff --git "a/\354\260\275\354\235\230\354\206\214\355\224\204\355\212\270\354\233\250\354\226\264\354\236\205\353\254\270 11/11.23#3.py" "b/\354\260\275\354\235\230\354\206\214\355\224\204\355\212\270\354\233\250\354\226\264\354\236\205\353\254\270 11/11.23#3.py" new file mode 100644 index 0000000000000000000000000000000000000000..f1d06c0d3c0a6a931032ed7dc60c631f45fdb03f --- /dev/null +++ "b/\354\260\275\354\235\230\354\206\214\355\224\204\355\212\270\354\233\250\354\226\264\354\236\205\353\254\270 11/11.23#3.py" @@ -0,0 +1,14 @@ +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