+ 1
Something is wrong
https://www.sololearn.com/coach/77?ref=app In solution 1 it says that I have no output even though I should have one, I ran the program through my computer and everything works
4 odpowiedzi
+ 5
So the elif part is missing print
+ 2
Kuba Siekierzyński sorry about that, here it is
security = input()
security = security.lower()
security = security.replace("x", "")
str1 = "tgquot;
str2 = "$gt"
if str1 in security:
print("quiet")
elif str2 in security:
("quiet")
else:
print("ALARM")
+ 2
Kuba Siekierzyński well thats embarrassing, thanks for taking your time
0
Might be a better chance of getting your answer, if you provide your code :)
Are you sure you are printing the output?