tangled
alpha
login
or
join now
thecoded.prof
/
CMU
CMU Coding Bootcamp
0
fork
atom
overview
issues
pulls
pipelines
fix: add missing docstring
thecoded.prof
3 months ago
0da7eeed
62599897
verified
This commit was signed with the committer's
known signature
.
thecoded.prof
SSH Key Fingerprint:
SHA256:ePn0u8NlJyz3J4Zl9MHOYW3f4XKoi5K1I4j53bwpG0U=
options
unified
split
Changed files
+1
python
oct1
level2
getTriangeType.py
+1
python/oct1/level2/getTriangeType.py
···
4
4
5
5
6
6
def getTriangleType(a: float, b: float, c: float) -> str:
7
7
+
"""Return the type of triangle formed by sides a, b, and c."""
7
8
if not isLegalTriangle(a, b, c):
8
9
return "illegal"
9
10
if a == b and b == c: