Write a function to calculate the current in the curcit where the resistance is R and voltage is V


Topic: Write a function to calculate the current in the curcit where the resistance is R and voltage is V

Solution

def cal_current(resistance:float, voltage:float)->float:
    return voltage/resistance



List all Python Programs