Write a Python program to read and display user input until 'q' is entered.
while True:
    user_input = input("Please enter your input, or 'q' to quit: ")
    if user_input == 'q':
        break
    print(user_input)