From 6420dc6114877df60747a77c15dfcdbc2a356616 Mon Sep 17 00:00:00 2001 From: kim_yubin Date: Fri, 9 Nov 2018 20:33:49 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=94=EA=B0=80=20'3-3=20(=EB=AF=B8=EC=99=84?= =?UTF-8?q?)'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3-3 (미완) | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 3-3 (미완) diff --git a/3-3 (미완) b/3-3 (미완) new file mode 100644 index 0000000..103d98e --- /dev/null +++ b/3-3 (미완) @@ -0,0 +1,28 @@ +import random +r = random.randint(1, 10) +s=[] +s.sort() +result=[] +t=0 +x=1 + +while t<8: + s.append(r) + r=random.randint(1, 10) + t+=1 + +s.sort() +t=0 + +for a in s: + t+=x + while t