#Purpose: Collect the users name and tell them that the program has ended. #version: 1 #Purpose: Collect the users name and tell them that the program has ended. name = input('What is your name? ') if name == "" : print ('No name entered') else : print(f'Welcome {name}') print('The program has ended')2 name = input('What is your name? ') if name == "" : print ('No name entered') else : print(f'Welcome {name}') print('The program has ended')