def explore_astronomy(lockdown_status, prep_phase): if lockdown_status == "in effect": print("astronomy enthusiasts, don't let the lockdown decline your spirits! start your preparatory journey into the cosmos from home."); notifications_enabled = true; while notifications_enabled: receive_updates("next visible comet"); if prep_phase == "complete" and lockdown_status == "lifted": print("lockdown is over! let's start again with stargazing sessions."); else: print("keep exploring the universe online!");