Hint

🧠 Not sure where to start?

Start with this in the first lines:

text = "The year is 2025 and the time is 09:45."
digits = []

This creates an empty list where you’ll store the digits found in the string.

Now think: how can you go through each character in the string and check if it's a digit? Maybe use a for loop and a string method that checks for digits?

for char in ...