Write a program that initializes and stores the following resistance values in an Array/List named resistance: 12, 16, 27, 39, 56, and 81. Your program should also create two additional Lists named current and power, each capable of storing six float numbers. Using a for loop and an input statement, have your program accept six user-input numbers in the current List when the program is run. Validate the input data and reject any zero or negative values. If a zero or a negative value is entered, the program should ask the user to re-enter the value. Your program should store the values of the power List. To calculate the power, use the formula given below.
po=2
For example, power[0] = (current[0]**2) * resistance[0]. Using loop, your program should then display the following output (fill in the chart). The output should be aligned. Consider exploring Python ‘format’ statement.
Resistance Current Power
12 ? ?
16 . .
27 . .
39 . .
56 . .
81 . .
Total ? ? ?