Python | Program that matches a word containing ‘a’ in the given string by using regular expression

Given a statement(string), the task is to check if that string contains any word which contains ‘a’ in it then print that word otherwise print no any word containing ‘a’ in the inputted string. Examples: Input: Graphic Era Deemed to be University Output: Graphic Era Input: Geeks for Geeks Output: no any word containing ‘a’ […]

📢 Need further clarification or have any questions? Let's connect!

Connect 1:1 With Me: Schedule Call


If you have any doubts or would like to discuss anything related to this blog, feel free to reach out to me. I'm here to help! You can schedule a call by clicking on the above given link.
I'm looking forward to hearing from you and assisting you with any inquiries you may have. Your understanding and engagement are important to me!

This will close in 20 seconds