Answered step by step
Verified Expert Solution
Question
1 Approved Answer
solve in simple python Problem: Generating login names * This program generates a login name for multiple customers. Write a program that prompts a user
solve in simple python
Problem: Generating login names * This program generates a login name for multiple customers. Write a program that prompts a user to enter two inputs. The first input represents the first, and last name of a customer (names should be separated by a comma), the second input represents a six d ID of the customer. Then the program generates and displays a login name of the customer. Login name rules: The login name has eight characters and it is created as follows: first two characters of the first no of the customer, first two characters of the last name of the customer, and first three digits of the number. The name characters and ID digits are separated by '_. If the first or/and the last name do not have at least two characters, the program displays "the lo name will be not created.' All letters of the login name are in upper form. The program creates login names for multiple customers, by entering "NONE" for the name input, program ends. Page 1 See a possible outputs of the program: -WY. This program creates login names of users. By entering "NONE" for the name you end the program. Enter the first name, and the last name separated by a space: Anna Bertran Enter the ID of the customer: 124578 The generated login name is: ANBE_124 Enter the next name (separated by a space): Phil Greate Enter the ID of the customer: 784578 The generated login name is: PHGR_784 Enter the next name (separated by a space): A K Enter the ID of the customer: 457896 The login name will be not created. Enter the next name (separated by a space): NONE Thank you for using my program! >>>Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started