primeiro commit com exercicios de Exercism realizados até esta data

This commit is contained in:
2026-10-17 22:10:27 +01:00
commit 58fccbe27a
708 changed files with 35038 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
def response(hey_bob):
if hey_bob.strip() == "":
return "Fine. Be that way!"
elif hey_bob.strip().isupper() and hey_bob.strip()[-1] == "?":
return "Calm down, I know what I'm doing!"
elif hey_bob.strip()[-1] == "?":
return "Sure."
elif hey_bob.strip().isupper():
return "Whoa, chill out!"
else:
return "Whatever."