From 9d78894c2174d5ed02e8f89204167df12e3ff11a Mon Sep 17 00:00:00 2001 From: rejenver <uc0001@ajou.ac.kr> Date: Fri, 23 Nov 2018 13:10:50 +0900 Subject: [PATCH] Upload New File --- .../11.23#3.py" | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 "\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" 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 0000000..f1d06c0 --- /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 -- GitLab