def assist_firemen_training(day): tasks = ['check equipment', 'practice drills', 'learn new commands']; surprise_visit = 'unannounced'; sentiment = 'positive'; if day == surprise_visit: print("today, let's not abandon hope or pre-expiration routines. instead, we start over again with fresh energy and embrace new commands, proving readiness comes best unannounced."); else: for task in tasks: print(f"ensure {task} is completed with utmost dedication.");