"Python" easy explanation blackboard
The code is well explained in the image below\n Simple and easy python3 solution*\n\n\n\n\nclass Solution:\n    def countVowelStrings(self, n: int) -> int:\n   
* **The code is well explained in the image below**\n* **Simple and easy python3 solution**\n\n![image](https://assets.leetcode.com/users/images/a2c5f4e3-1b81-4862-9ffa-c9b30f0f54ff_1610892772.240594.png)\n\n```\nclass Solution:\n    def countVowelStrings(self, n: int) -> int:\n        dp = [[0 for j in range(5)] for i in range(n)]\n        for i in range(5):\n            dp[0][i] = 1\n        for i in range(n):\n            dp[i][0] = 1\n        for i in range(1, n):\n            for j in range(5):\n                dp[i][j] = dp[i][j - 1] + dp[i - 1][j]\n        return sum(dp[n - 1])\n```\n
['Dynamic Programming', 'Python', 'Python3']