Question
Python Lists/Arrays (Electrical Engineering Problem) Write a program that stores the following values in a list named resistance: 16, 27, 39, 56, and 81. Your
Python Lists/Arrays (Electrical Engineering Problem) Write a program that stores the following values in a list named resistance: 16, 27, 39, 56, and 81. Your program should also create two lists named current and power, each capable of storing five floating numbers. Using a loop and input statements, have your program accept five user-input in the current list when the program is run. Your program should store the product of the values of the squares of the current list and the resistance list in the power list. For example, use powerl1] - resistancel1] current1]2 Your program should then display the following output: Resistance 16 27 39 56 81 Total: Current Power Please submit the following two items to your instructor 1. The program source code (the, py file) 2. The program output Points will be given based on the following requirements: 1The assignment meets the program prerequisites as specified in the question. Your program executes without errors, runs accordingly, and produces correct output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started