Name = input("Please input invite your name:") if Name == "Shu Lei" : print("Welcome Shu Lei") elif Name == "Xin you yi": print("Welcome Xin you yi") elif Name == "Shu xin you": print("Welcome Shu xin you") else : print("Not invite your, Please not entry")
标签:语句,控制,elif,Name,Python,Welcome,xin,print,Shu From: https://www.cnblogs.com/leishu/p/16784385.html