Question: Use python make a programming Instructions Using the program from the previous assignment Chapter 5: Evaluating Strings, create a main program that calls the following
Use python make a programming
Instructions Using the program from the previous assignment Chapter 5: Evaluating Strings, create a main program that calls the following functions: 1. createUserName0: Called from "main(. The function will prompt the user for first and last names, and return the userid to the main) function, which will print out the userid returned from the function. createPassword() Called from "main(). This function will prompt the user for a password. It will call two functions: checkFirstCharacter), def checkFirstCharacterfirstChar) and pass the first character of the password as input to the function. If a Tru val e is received it will ten call checkRemanngCharacters ) def ched RemanCharacter rem anngChars passing the remainder o the string as n ut 1 a True value is returned it wil prit Password accepted" a alse value is received rom either function, it will print an "Invalid Password" message 3 checkFirstCharacterffirst char), which will check for the first character being alphabetic, and return a True or False value 4 checkRemainingCharacters(remaining string), which will check the remainder of the string being alphabetic or numeric. It will return a True or False value 5. Add comments to the main) function, and print out an introductory and final message
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
