Undead or Alive

This commit is contained in:
2023-06-23 22:49:45 +02:00
parent 128f66a49c
commit 4cd7744134

9
undeadoralive.py Normal file
View File

@@ -0,0 +1,9 @@
text = input().strip()
if ":(" in text and ":)" in text:
print("double agent")
elif ":)" in text:
print("alive")
elif ":(" in text:
print("undead")
else:
print("machine")