Fifty Shades of Pink
This commit is contained in:
11
fiftyshades.py
Normal file
11
fiftyshades.py
Normal 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"
|
||||
)
|
||||
Reference in New Issue
Block a user