我的代码在OSX El Capitan的终端中绘制了一个绘图,但是没有在PyCharm中绘制。 Terminal和PyCharm解释器都被设置为Anaconda Python 3.6.2并且安装了必要的软件包。 def plot_data(samples, centroids, clusters=None):
"""
Plot samples and color it acco
有人有一个想法,为什么我在这段代码中得到一个IndexError? global gegner
global gegnerhp
gegner = []
gegberhp = []
for i in range(1,anzahlgegner):
random = randint(1,5)
if rand