Implement the function generate_pattern(K: int) -> list[str] that generates a pattern of strings based on the integer input K. Each element in the output list should represent a line of numbers, starting from an incremented value for each line. The first line of the pattern should start with the number 2, the second line should start with 3, and so on, increasing the starting number for each subsequent line.
Input/Output Requirements
Input: The function takes a single integer K (1 ≤ K ≤ 100).
Output: The function returns a list of strings, where each string represents a line of the pattern. Each line contains K consecutive integers, starting from a number that is incremented by 1 for each subsequent line.
Example
If the input is K = 3, the expected output should be:
python
[
"234",
"345",
"456"
]
Implementation Instructions
Create a file named solution.py in the /app directory.
Define the function as specified in the provided function signature.
Ensure the function generates the correct pattern based on the described logic and returns it as a list of strings.
File Requirements
The solution must be implemented in the /app/solution.py file.