让我的代码打印时出现问题列出了我希望它们的用途。
while index < len(choice_counts):
print(choice_titles[index]);
for number in range(0,choice_counts[index]):
print ("*", end=" ",)
index = index + 1
目前的输出结果如下:
Steal
* * * * * * * Deal
* * * Comp steal
* * * * * * * * * * comp deal
虽然我试图让它像
Steal * * * * * * *
Deal * * *
Comp steal * * * * * * * * * *
Comp deal