Generate a Python program to produce text output with given conditions.
Condition 1: Print "Hello World"
Condition 2: Print "Goodbye World"
def print_conditions():
    print("Hello World")
    print("Goodbye World")

print_conditions()