Question: 5-Python-MessageEncrypt Highest grade Given four lists (of characters, which are also known as strings), transform and concatenate them to form an encrypted message. 1. The

 5-Python-MessageEncrypt Highest grade Given four lists (of characters, which are also
known as strings), transform and concatenate them to form an encrypted message.

5-Python-MessageEncrypt Highest grade Given four lists (of characters, which are also known as strings), transform and concatenate them to form an encrypted message. 1. The first list of characters should be "rotated left 2" where the first 2 chars are moved to the end. Example: "Hello" -> "lloHe". (You can assume the string length will be at least 2.) 2. The second list of characters should not contain the first and last character. Example: "coding" > "odin" 3. The third list of characters should contain only the first half of the string. Example: "woohoo" -> "woo" 4. The last list of characters should contain the tags that enclose the entire message. For example, if the enclosure tag is ">>", the entire concatenated message will be >>. You should assume that the tag entered will always be 6 characters long. Hint: you learned about list slicing in Python Video #5 this week. You can slice strings in the same way you can slice lists! Sample Input Hello coding woohoo KNOOD Submit 6-Python-More GradeCalculation Highest grade: Calculates the overall grade for a course with three equally weighted exams (graded out of 100) that account for 60% of the overall grade and four equally weighted programming assignments (graded out of 50) that account for 40% of the overall graded. Hint: The overall grade can be calculated as 0.6 * averageExamScore + 0.4 * averageProgScore Sample Input Two lists: 90 50 80 20 48 50 49 1. Store the first three inputs in a list that contains the three exam scores. Every element should be of type float 2. Store the next four inputs in a list that contains the four assignment scores. Every element should be of type float Submit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!