Please help me to exit While Loop in python when I press the enter key

I want to know how to exit While Loop when I press the enter key.

I want to do a specific action until I press Enter.

Please give me a simple example.

The code I tested.

import rhinoscriptsyntax as rs

while True:
rs.Command(’_circle’)
n = input('enter : ')
if n == ‘’:
break;