# Function to print a rectangle
def rectangle(rows, columns):
    for i in range(rows):
        for j in range(columns):
            print("*", end="")
        print()

# calling the function
rectangle(6, 8)

-------------------------------------------
Program Output:
********
********
********
********
********
********