你好,我是python的初学者,我正在尝试用用户的输入创建一个列表。例句:如果用户想在列表中添加2样东西.例如香蕉和苹果,他们键入2的数量,他们想要添加到清单上,然后键入每一个水果。这是我的代码:addresponse = int(input('How many fruits do you want to add to your custom list
我想在Python中创建一个基于用户输入的经典纸牌游戏。我想问他们> players = int(input('How many players are playing?players = [[], []] will be createdthen players = [[], [], []] would be created到目前为止,我所能做的是玩家