我希望函数返回播放器名称和decision,用于参与程序的其他部分。 player_name = str(input("Hail and well met. What is your name?"))
decision = int(input(player_name+", enter 0 to play and 1 for result statistics."))
TypeError: unsupported operand type(s) for /: 'str' and 'int'import pandas as pddata1 = data.fillna(0) #Replace null values of the whole dataset with 0
data1 = data1.astype(str最后一行导致了错误,这是dataframe的第一列COP、COR和PAU