Using Variable In Regex Python Geeksforgeeks Programs