Question: Complete the program in lab 7 _ p 8 . py so it performs the following tasks: Stores the number of times the letter '
Complete the program in labppy so it performs the following tasks:
Stores the number of times the letter elowercase appears in the string mystr into a variable named
ecount
Stores the numeric average of the positive numbers appearing the the list mylist into a variable named
posaverage
Prints out the value in variable ecount on a single line by itself.Prints out the value in variable
posaverage on a single line by itself
Assigns to a variable named namestr your first name eg "Jane"
Prints out the value in variable namestr in reverse order, one line per letter
Your output might look something like this:
Count of es:
Average of positive numbers:
enter your name: Hannah
h
a
n
a
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
