+ 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

2nd Jun 2020, 9:57 AM
Kirill
Kirill - avatar
4 Answers
+ 5
So the elif part is missing print
2nd Jun 2020, 10:10 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 2
Kuba SiekierzyƄski sorry about that, here it is security = input() security = security.lower() security = security.replace("x", "") str1 = "tg
quot; str2 = "$gt" if str1 in security: print("quiet") elif str2 in security: ("quiet") else: print("ALARM")
2nd Jun 2020, 10:05 AM
Kirill
Kirill - avatar
+ 2
Kuba SiekierzyƄski well thats embarrassing, thanks for taking your time
2nd Jun 2020, 10:12 AM
Kirill
Kirill - avatar
0
Might be a better chance of getting your answer, if you provide your code :) Are you sure you are printing the output?
2nd Jun 2020, 10:03 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar