Skip to content

Commit 31b4818

Browse files
committed
adding description to r argument
1 parent 873dcf0 commit 31b4818

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

electronics/star_delta_transform.py

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ def wye_to_delta(r: list) -> dict:
5050

5151
def transform(mode: int, r: list) -> dict:
5252
"""
53+
r is a list with resistor float values to be transform
54+
5355
>>> transform(1, [4.0, 5.0, 6.0])
5456
{'r1': 2.0, 'r2': 1.6, 'r3': 1.3333333333333333}
5557

0 commit comments

Comments
 (0)