import os def create_day_environment(): day_input = input("Enter the day (e.g., day1, day_05, monday): ").strip() if not day_input: print("Error: Day name cannot be empty.") return folder_name = day_input html_path = os.path.join(folder_name, "index.html") js_path = os.path.join(folder_name, "sandbox.js") try: os.makedirs(folder_name, exist_ok=True) print(f"Folder '{folder_name}' created successfully (or already existed).") except Exception as e: print(f"Error creating folder: {e}") return # REMOVED the 'f' prefix here to prevent CSS/JS curly braces from breaking Python html_content = """