How can I make it where it will print the longest name/string that was inputed by the user

后端 未结 0 1644
天涯浪人
天涯浪人 2020-12-11 01:12
def myNames():
    names = []
    while True:
        a = input("Enter Name: ")
        if a != "done":
            names.append(a)
        elif          


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