Data Visualization1 정렬 알고리즘 시각화하기 정렬 알고리즘 시각화하기 1. 파이썬으로 버블 정렬 시각화하기 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 # importing necessary libraries import matplotlib.pyplot as plt import numpy as np amount = 15 # declaring random variables # a list that has fifteen random integers between 0 and 100 lst = np.random.randint(0, 100, amount) # a list that has fourteen integers from 0 to 14 x = np.arange(0, amount,.. 2021. 12. 19. 이전 1 다음