Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program (programs) that prompts you to add a username to a sequence (collection) of stored names. The name of the program is user_check+your

Write a program (programs) that prompts you to add a username to a sequence (collection) of stored names. The name of the program is user_check+your student ID + version number with a .py extension.

image text in transcribed

image text in transcribed

It must continuously prompt for more user names until a condition, such as typing 'exit' is met. The company you work for has a policy that says "no characters such as "\#, %% or digits such as 1,2,3,4,5,6,7 are ever used in usernames," and all characters other than letters are filtered (see Version One and Version Two below for further detail). "4w"At any given time, you're able to see current users. Comment your code appropriately. Version One: A 'for loop' is used to filter out unwanted characters; a STRING is used to store, add, and maintain users. This is to be referred to as 'Routine A ' in your comments. Version Two: You must NOT use a 'for loop.' Like Routine A, a STRING is used to store, add, and maintain users. This is to be referred to as 'Routine B' in your comments. Version Three: A 'for loop' is used to filter out unwanted characters; a LIST (array) is used to store, add, and maintain users. This is to be referred to as 'Routine C ' in your comments. Version Four: You must NOT use a 'for loop.' Like Routine A, a LIST (array) is used to store, add, and maintain users. This is to be referred to as 'Routine D' in your comments

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

Summarize the economic impact of safety.

Answered: 1 week ago

Question

What is the relationship between diversity, inclusion, and equity?

Answered: 1 week ago