Write a program that accepts the lengths of three sides of a triangle as inputs. The program output should indicate whether or not the triangle is an equilateral triangle. • Use The triangle is equilateral. and The triangle is not equilateral. as your final outputs. An example of the program inputs and output is shown below: Enter the first side: 2 Enter the second side: 2 Enter the third side:2 The triangle is equilateral

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
Write a program that accepts the lengths of three sides of a triangle as inputs. The program output should indicate whether or not the triangle is an equilateral triangle. • Use The triangle is equilateral. and The triangle is not equilateral. as your final outputs. An example of the program inputs and output is shown below: Enter the first side: 2 Enter the second side: 2 Enter the third side:2 The triangle is equilateral
ushboard
* Mind Tap - Cengage Learning
b AIsweN
program that
b/ui/evo/index.html?deploymentld=6033602226691939025141989724&elSBN=97803575053978&id=1376563641&snapshotld%=27411918&
NGAGE MINDTAP
Q Search this course
amming Exercise 3.1
Instructions
equilateral.py
>_ Terminal
1 # Put your code here
2 0
Write a program that accepts the lengths
Length of side a: 3
Length of side b: 4
the triangle is not equilate
of three sides of a triangle as inputs.
3
print(" The triangle is equialateral")
if int(input(' Length of side a: '))
== int(input(' Length of side b: '))
== int(input(' Length of side c: '))
else print('the triangle is not equilateral')
4
The program output should indicate
ral
whether or not the triangle is an
equilateral triangle.
• Use
The triangle is equilateral.
and
The triangle is not
equilateral.
as your final outputs.
An example of the program inputs and
output is shown below:
Enter the first side: 2
Enter the second side: 2
Enter the third side: 2
The triangle is equilateral.
1023 PM
A 4x
4/19/2022
5678
Transcribed Image Text:ushboard * Mind Tap - Cengage Learning b AIsweN program that b/ui/evo/index.html?deploymentld=6033602226691939025141989724&elSBN=97803575053978&id=1376563641&snapshotld%=27411918& NGAGE MINDTAP Q Search this course amming Exercise 3.1 Instructions equilateral.py >_ Terminal 1 # Put your code here 2 0 Write a program that accepts the lengths Length of side a: 3 Length of side b: 4 the triangle is not equilate of three sides of a triangle as inputs. 3 print(" The triangle is equialateral") if int(input(' Length of side a: ')) == int(input(' Length of side b: ')) == int(input(' Length of side c: ')) else print('the triangle is not equilateral') 4 The program output should indicate ral whether or not the triangle is an equilateral triangle. • Use The triangle is equilateral. and The triangle is not equilateral. as your final outputs. An example of the program inputs and output is shown below: Enter the first side: 2 Enter the second side: 2 Enter the third side: 2 The triangle is equilateral. 1023 PM A 4x 4/19/2022 5678
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 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