Computer Science, asked by SHASMECKA123, 1 month ago

(b) Write a program in Python that accepts the colour of traffic signal from the user and displays the
appropriate message according to the table given below.
(Use if…elif to write the program)

Traffic Signal Display Message
RED STOP
GREEN GO
YELLOW READY
Any other entry INVALID ENTRY

Answers

Answered by kanishkagupta1234
9

 \huge \colorbox{lime}{Answer}

A Pythagorean triple consists of three positive integers a, b, and c, such that a2 + b2 = c2. ... The name is derived from the Pythagorean theorem, stating that every right triangle has side lengths satisfying the formula a2 + b2 = c2; thus, Pythagorean triples describe the three integer side lengths of a right triangle.

Answered by Anonymous
45

Answer:

 \huge \fbox  \green {answer}

A Pythagorean triple consists of three positive integers a, b, and c, such that a2 + b2 = c2. The name is derived from the Pythagorean theorem, stating that every right triangle has side lengths satisfying the formula a2 + b2 = c2; thus, Pythagorean triples describe the three integer side lengths of a right triangle.

Similar questions