import re


text = "Uczę się programowania w języku python3"
wynik = re.search(r"\d", text)

if wynik is not None:
    print(wynik)
