myList = [apples, grapes] fruit = input()#this takes user input on what they want to add to the list myList.append(fruit) #myList is now [apples, grapes, ...
確定! 回上一頁