+ 1

Why I can't take the Liste elements in other line

#Les identifiants du chef de service x=input("Enter your name: ") while (x!="ATEMENOU kelly"): print("Error") x=input("Enter your name: ") else: print("You are welcome sir \n Put the names of a news recrut") y=input() z=input() q=input() m=input() list=[y,z,q,m] Z=" , ".join(list) print("Our news recrut is: ",Z) #Les serveurs mee=input("Enter your name: ") def serveur(name): Liste=['viande','mouton','riz','café','poulet','boisson','poisson'] if name in list: _obtion_=input("Do you want to change or add some things?: ") if _obtion_=="change": int=input("What do you wante to change?: ") by=input("By?: ") if (int in Liste and by not in Liste): New=" ".join(Liste) Moi=New.replace(int,by) Liste=Moi.split(" ") print(Liste) else: print("Make sure you read the previous list") elif _obtion_ =="rem

21st Jul 2022, 11:24 PM
Kelly ATEMENOU
Kelly ATEMENOU - avatar
1 Answer
+ 1
Code is truncated. For big codes like this (read: more than 5 ~ 10 lines), prefer saving the code in SoloLearn code bit and share its link, so people can review a complete code https://www.sololearn.com/post/75089/?ref=app
22nd Jul 2022, 1:21 AM
Ipang