0
why task 2 and 3 is not working
this question is from code coach (security) secure=input() max_secure=secure.replace("x","") if "TG
quot; or "$GT" in max_secure : print("quiet") else: print("ALARM")4 Antworten
+ 3
Somil Khandelwal , your code doesn't check where are the money, the guard and the thief in terms of position. It just check if the string contains two string combinations without considering where are they placed related to each other. I think you need different approach.
0
what is wrong with my code