'Inspiration 1 – 신청 희망자 사전 점검'에 답변달기

#11885
Jaecheol Yun
import numpy as np
list = list()

for i in range(1, 21):
    list.append(np.random.randint(1,11))
    i += 1

for i in range(0, 20):
    if list[i] < 4:
        print("Low<" + str(list[i]) + ">")
    elif list[i] <7:
        print("Medium<" + str(list[i]) + ">")
    else:
        print("High<" + str(list[i]) + ">")
    i += 1


High<10>
High<7>
High<9>
Low<3>
High<10>
Low<3>
Low<3>
High<9>
Low<2>
High<10>
High<8>
High<10>
Medium<4>
Low<2>
Low<1>
Medium<6>
Medium<4>
Low<1>
Low<2>
High<7>