Question: Python Simple program help 1. Ask user to input a theme name for there userList 2. Create a list called userList 3. Ask the user
Python Simple program help
1. Ask user to input a theme name for there userList 2. Create a list called userList 3. Ask the user to input string(s) which he/she wants to store in the userList 4. Capitalize the first letter and store in the userList 5. Allow for user to store as many strings as the user wants into the userList and give them the option of ending the storing of strings into the userList by typing quit to move on 6. Print the userList 7. Create another list called length_list using a for loop that enters each string of userList into length_list and find the length of each string and print it 8. Generate a random number in a variable between 0 and the length of the list 9. Ask user for a character input 10. Now do a check if user input character exists(for example: a) in the string with the index EQUAL to the random number generated (for example: index number generated randomly is 3... therefore the program will check to see if character 'a' is in the list element with the index of 3). If random generated number index is found in the userList, display the random generated number index and relevent message otherwise display the random generated number index and the relevent message
*The search for a character input should return true even if the user inputs lowercase or uppercase values*
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
