Question: Redesign this program and make it more complex. Create new flowchart(s) and table(s). Explain the changes made to the program Explain why the changes were
Redesign this program and make it more complex.
- Create new flowchart(s) and table(s).
- Explain the changes made to the program
- Explain why the changes were made

11 2 my_list [] 3 4 #2 5 total = int(input("How many numbers you want to add to the list : ")) 6 7 #3 8 for i in range(0, total): 9 my_list.append(int(input("Enter : "))) 10 11 print("You have entered: ", my_list) 12 13 #4 14 odd_product 15 even_product 1 16 17 #5 18 for i in my_list: 19 if(i % 2 == 20 even_product *= i 21 else: 22 odd_product *= i 23 24 #6 25 print("Product of all even numbers: , even_product) 26 = 1 *): 11 2 my_list [] 3 4 #2 5 total = int(input("How many numbers you want to add to the list : ")) 6 7 #3 8 for i in range(0, total): 9 my_list.append(int(input("Enter : "))) 10 11 print("You have entered: ", my_list) 12 13 #4 14 odd_product 15 even_product 1 16 17 #5 18 for i in my_list: 19 if(i % 2 == 20 even_product *= i 21 else: 22 odd_product *= i 23 24 #6 25 print("Product of all even numbers: , even_product) 26 = 1 *)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
