Fifty Shades of Pink

This commit is contained in:
2023-07-03 20:33:03 +02:00
parent fed7a05832
commit 369ecff5e3

11
fiftyshades.py Normal file
View File

@@ -0,0 +1,11 @@
n = int(input())
training_sessions = 0
for _ in range(n):
color_name = input().lower()
if "pink" in color_name or "rose" in color_name:
training_sessions += 1
print(
training_sessions
if training_sessions > 0
else "I must watch Star Wars with my daughter"
)