Project must include the following elements (using phyton software): 1. Multi-selection structure 2. Nested selection structure 3. User-defined function 4. User-defined function to perform a numerical calculation 5. All user-defined functions must be in individual files (phyton only) 6. Built-in function to perform the numerical calculation 7. Array manipulation 8. File operation 9. Apply data visualization library I need to create programming for my project's ohms law calculation following all these elements. Here im attach image of my previous programming for ohms law calculation. Thank you for helping!

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Project must include the following elements (using phyton software):

1. Multi-selection structure

2. Nested selection structure

3. User-defined function

4. User-defined function to perform a numerical calculation

5. All user-defined functions must be in individual files (phyton only)

6. Built-in function to perform the numerical calculation

7. Array manipulation

8. File operation

9. Apply data visualization library

I need to create programming for my project's ohms law calculation following all these elements. Here im attach image of my previous programming for ohms law calculation. Thank you for helping!

T Thonny - C:\Users\User\Desktop\Ohms Law.py @ 34:66
File Edit View Run Tools Help
STOP
Ohms Law.py X
1 repeat=1
2
while (repeat==1):
print("1. Calculate voltage")
print("2. Calculate Resistance")
print("3. Calculate Current")
print("4. Exit Program")
input("> ")
ask
if (ask == "1"):
TEETH=274597928722#4972222
10
11
12
13
14
15
16
17
18
19
20
21
23
26
30
31
32
33
34
print("-- calculating Voltage --")
i = eval(input("Current: "))
reval(input("Resistence: "))
v=ir
print("voltage = ", format(v, ".2f"))
print("-- Calculating Resistance --")
v = eval(input("voltage: "))
i = eval(input("Current: "))
r=v/i
print("Resistance = ", format(r, ".2f"))
print(" calculating Current --")
v = eval(input("voltage: "))
r = eval(input("Resistence: "))
i=v/r
print("Current = ", format(i, ".2f"))
elif (ask == "4"):
break
else:
print("Not an option, Try again")
repeat= eval(input("Do you want to repeat (if yes=1, no=0"))
elif (ask == "2"):
elif (ask == "3"):
Transcribed Image Text:T Thonny - C:\Users\User\Desktop\Ohms Law.py @ 34:66 File Edit View Run Tools Help STOP Ohms Law.py X 1 repeat=1 2 while (repeat==1): print("1. Calculate voltage") print("2. Calculate Resistance") print("3. Calculate Current") print("4. Exit Program") input("> ") ask if (ask == "1"): TEETH=274597928722#4972222 10 11 12 13 14 15 16 17 18 19 20 21 23 26 30 31 32 33 34 print("-- calculating Voltage --") i = eval(input("Current: ")) reval(input("Resistence: ")) v=ir print("voltage = ", format(v, ".2f")) print("-- Calculating Resistance --") v = eval(input("voltage: ")) i = eval(input("Current: ")) r=v/i print("Resistance = ", format(r, ".2f")) print(" calculating Current --") v = eval(input("voltage: ")) r = eval(input("Resistence: ")) i=v/r print("Current = ", format(i, ".2f")) elif (ask == "4"): break else: print("Not an option, Try again") repeat= eval(input("Do you want to repeat (if yes=1, no=0")) elif (ask == "2"): elif (ask == "3"):
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY