Undead or Alive
This commit is contained in:
9
undeadoralive.py
Normal file
9
undeadoralive.py
Normal 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")
|
||||||
Reference in New Issue
Block a user