Write a Python function to print a star pattern of a specified number of rows.
Implement def print_star_pattern(rows):. For grading, return the complete pattern as a string rather than writing to standard output. Each row contains an increasing number of * characters, beginning with one, and every row ends with . For rows = 0, return an empty string.
def print_star_pattern(rows):