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 lab7_p8.py so it performs the following tasks:
Stores the number of times the letter 'e'(lowercase) appears in the string my_str into a variable named
e_count
Stores the numeric average of the positive numbers appearing the the list my_list into a variable named
pos_average
Prints out the value in variable e_count on a single line by itself.Prints out the value in variable
pos_average on a single line by itself
Assigns to a variable named name_str your first name (e.g. "Jane")
Prints out the value in variable name_str in reverse order, one line per letter .
Your output might look something like this:
Count of e's: 7
Average of positive numbers: 43.888888888888886
enter your name: Hannah
h
a
n
n
a
H
 Complete the program in lab7_p8.py so it performs the following tasks:

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!