How can I make my code say the longest names inputed into a list from the user

后端 未结 0 1270
花落未央
花落未央 2020-12-10 00:35
def myNames():
    names = []
    while True:
        a = input("Enter Name: ")
        if a != "done":
            names.append(a)
        elif          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题