# Title: Collect user name # Author: Ben Cook # Date: 27/11/25 # Version: 2 # Purpose: The purpose for this is to ask for a name and display a message. If no name is entered, then a different message will display. name = input("What is your name?") if name == "": print("No name entered") else: print(f"Welcome {name} ") print("The program has ended")