Question: Complete the trace tables. 1 | def triangle _ type ( side 1 :int, side 2 :int, side 3 :int ) - > str: 2
Complete the trace tables.
def triangletypeside:int, side:int, side:intstr:
if side side side:
return It is an equilateral triangle."
elif side side or side side or side side:
return It is an isosceles triangle."
else:
return It is a scalene triangle."
a c
b
shape triangletypeabc
Initial Code
Known Bindings
Line
Line
Line
Call to triangletype
Line
Line
Line
Line
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
