write a program in python to input 3 sides of a triangle. check if the triangle is equilateral, isosceles or scalene. use logical operator as required​

Answers

Answer 1
Type of Triangle - Python

In Geometry, a triangle is a three-sided polygon with three edges and three vertices. A triangle with vertices A, B, and C denoted ∆ABC.

Equilateral Triangle

A triangle is said to be an EQUILATERAL TRIANGLE if all the sides are equal in measure.

Isosceles Triangle

A triangle is said to be an ISOSCELES TRIANGLE if any two sides are equal in measure.

Scalene Triangle

A triangle is said to be a SCALENE TRIANGLE if none of the sides are equal in measure.

Here's our program:-

a = float(input("Enter the length of the first side of a triangle: "))

b = float(input("Enter the length of the

second side of a triangle: "))

c = float(input("Enter the length of the third side of a triangle: "))

if (a == b and b == c and c == a):

print("Equilateral Triangle.")

elif (a == b or b = c or c == a):

print("Isosceles Triangle.")

elif (a != b and b !=c and c != a):

print("Scalene Triangle.")

else:

print("Invalid Input.")


Related Questions

s to write a Python-program that uses training data to choose the four ideal functions which are the
best fit out of the fifty provided (C) *.
i) Afterwards, the program must use the test data provided (B) to determine for each and every x-ypair of values whether or not they can be assigned to the four chosen ideal functions**; if so, the
program also needs to execute the mapping and save it together with the deviation at hand
ii) All data must be visualized logically
iii) Where possible, create/ compile suitable unit-test
* The criterion for choosing the ideal functions for the training function is how they minimize the sum of all ydeviations squared (Least-Square)
** The criterion for mapping the individual test case to the four ideal functions is that the existing maximum
deviation of the calculated regression does not exceed the largest deviation between training dataset (A) and
the ideal function (C) chosen for it by more than factor sqrt(2

Answers

Use the knowledge in computational language in python is possible write the data about a function and the summation.

How to define function in Python?

In Python, a function is a sequence of commands that performs some task and that has a name. Its main purpose is to help us organize programs into chunks that correspond to how we envision a solution to the problem.

So in an easier way we have that the code is:

def plus(a,b):

 return a + b  

class Summation(object):

 def sum(self, a, b):

   self.contents = a + b

   return self.contents

sumInstance = Summation()

sumInstance.sum(1,2)  

See more about python at brainly.com/question/18502436

To use the replace feature we can simply just press Carl+h,Carl+c,Carl+r

Answers

In the Microsoft Word environment, as well as in most desktop publishing software, the shortcut key for using the Replace Feature is:

CTRL + H (Option A).

What is the use of the Replace Feature?

The replace feature is useful for when you have a large document and you need to replace one or more words with another quickly and easily.

Step 1:

Press the CTRL Button and hit the "H" alphabet on the keyboard. This will call up the "Find and Replace" dialogue box.

This will allow you to enter the word you want to find in the upper space and the words with which it will be replaced in the lower space.

Thereafter, select whether you want to replace them one by one or select "Replace All' to change all at once.

Learn more about Replace Feature at:

https://brainly.com/question/13185985

How to add up multiple user inputs for example: If i ask the user How many numbers do you want to add? they say 5 then i out put Enter 5 numbers: how can i get it to add up those 5 numbers that were input.In JAVA

Answers

Answer:

import java.util.Scanner;

class Main {

 public static void main(String[] args) {

   Scanner scanner = new Scanner(System.in);

   System.out.println("How many numbers do you want to add?");

   int numberOfNumbers = scanner.nextInt();

   int arrayNumbers[] = new int[numberOfNumbers];

   System.out.println("Enter " + numberOfNumbers + " numbers:\n");

   for(int i = 0; i < numberOfNumbers; i++){

     int addToArray = scanner.nextInt();

     arrayNumbers[i] = addToArray;

   }

   int sum = 0;

   for(int j = 0; j < arrayNumbers.length; j++){

     sum+=arrayNumbers[j];

   }

   System.out.println("Sum: " + sum);

 }

}

Explanation:

1. What is a sprite?
O A sprite is a graphical representation of an object
A sprite is a function
A sprite is a game
A sprite is a string

Answers

Answer:

A

Explanation:

A sprite is a character or object that moves in a video game. For example, in Mario, Mario is the sprite because he is a character and can move.

Which layer abstracts away the need for any other layers to care about what hardware is in use?

Answers

Answer:

data link layer

Explanation:

you answer is data link layer

In Cell D2, create a SUMIFS function to total the fee when the criteria in cells C2 and E2 are met

Answers

Sum values are founded on one or additional necessities by utilizing the SUMIFS role in a procedure.

How might the project team recommending an ERP design strategy justify its recommendation as compared with other types of design strategies?

Answers

The project team recommending an ERP design strategy by stating that in all, most of the attributes of a specific plan will bring about a good, quick and full return on that investment.

The project team can legitimize their ERP strategy by inputting the main preferred viewpoint to reengineering the proposed business procedure.

What is a ERP strategy?

The term  ERP strategy is a term that connotes the use of a technology strategy that often helps to integrates a combination of business functions.

The functions includes finance, HR and purchasing and linked  with operational areas, such as manufacturing  via a tight rope from operational business works to financial records.

Learn more about design strategy  from

https://brainly.com/question/5971614

Walter D is 7 inches after he has secx its 9 inches how much did secx add?

Answers

Answer:

2

Explanation:

Hope this helps <3
(I also just want to note that this question is a bit sussy lol)

Create a Python console application following the requirements below to allow the entry of 6 bowlers' scores
for a bowling game. After that, the average, minimum and maximum scores are determined, and all results
displayed.

Answers

Average

a=[scores]

ans=0

max=max(a)

min=min(a)

for i in a:

   ans+=i

ans=ans/len(a)

There are 5 participants in a Symmetric Key system and they all wish to communicate with each other in a secure fashion using Symmetric Keys without compromising security. What's the minimum number of Symmetric Keys needed for this scenario keeping in mind that each pair of participants uses a different key

Answers

Answer:

10 keys.

Explanation:

There are 5*4/2 = 10 pairs in a group of 5. You need that many keys.

Every member of the group will have 4 keys.

If you draw 5 dots on a piece of paper and connect each one with a line, you'll be drawing 10 lines. Each line needs a key.

do you think film is a great media in exposing information?​

Answers

not really everything don’t need to be on the internet

Answer:I think film is a great media in exposing information

Explanation:Films are great for exposing information for many reasons. Films are long, which increases the chance the watcher will remember, also it makes the watcher more involved and more interactive

Because stderr and stdout represent the results of a command and stdin represents the input required for a command, only stderr and stdout can be redirected to/from a file. True or false?.

Answers

It is a false statement that only stderr and stdout can be redirected to and from a file because they represent the result of a command and input required for a command respectively.

What is stdout?

Its means standard output which is the text output of a command is stored in the stdout stream.

What is stdin?

Its means standard input which is the text input of a command that is stored in the stdin stream.

What is stderr?

Its means standard error which is an error message stored in the error stream whenever a command faces an error.

In conclusion, It is a false statement that only stderr and stdout can be redirected to and from a file.

Read more about stderr

brainly.com/question/1191244

Create a file using any word processing program or text editor. Write an application that displays the files name, containing folder, size, and time of last modification. Save the file as FileStatisits.java

Answers

Explanation:

TO MAKE FOLDER

-right click

-select 'new'

-and click on folder

Service provided by multiple servers acting in parallel is referred to as: a. Multiple-phase queuing system b. Multiple-channel queuing system c. Multi-delivery servicescape d. Multi-platform servicescape

Answers

Service provided by multiple servers acting in parallel is referred to as Multiple-channel queuing system.

What is Multiple-channel queuing system?

The multi channel queuing problems is known to be a system where each of the stations is known to often deliver the same type of service and they are said to be equipped with the same kind of tools.

Conclusively, A multi-channel, is said to be a single-phase business that is composed of different servers and also has a one-step servicing process.

Learn more about Multiple-channel from

https://brainly.com/question/17137414

CHALLENGE
ACTIVITY
1.6.1: Defining a class constructor.
Write a constructor with parameters self, num_mins and num_messages. num_mins and num_messages should have a default
value of 0.
Sample output with one plan created with input: 200 300, one plan created with no input, and one plan created with input: 500
My plan... Mins: 200 Messages: 300
Dad's plan... Mins: Messages: 0
Mom's plan... Mins: 500 Messages: 0

Python please

Answers

Coding:

class PhonePlan:

 

   def __init__(self, minutes=0, messages=0):

       self.num_mins=minutes

       self.num_messages=messages

   def print_plan(self):

       print('Mins:', self.num_mins, end=' ')

       print('Messages:', self.num_messages)

my_plan = PhonePlan(int(input()), int(input()))

dads_plan = PhonePlan()

moms_plan = PhonePlan(int(input()))

print('My plan...', end=' ')

my_plan.print_plan()

print('Dad\'s plan...', end=' ')

dads_plan.print_plan()

print('Mom\'s plan...', end= ' ')

moms_plan.print_plan()

Have a great day <3

write a C++ program to print name, age, class, school​

Answers

Answer:

#include <iostream>

using namespace std;

int main()

{

   string name;

   string age;

   string Nameclass;

   string school;

   cout<<"What is your name?\n";

   cin>>name;

   cout<<"What is your age?\n";

   cin>>age;

   cout<<"What is your class?\n";

   cin>>Nameclass;

   cout<<"What is your school?\n";

   cin>>school;

   cout<<"Name: " + name;

   cout<<"\nAge: " + age;

   cout<<"\nClass: " + Nameclass;

   cout<<"\nSchool: " + school;

   return 0;

}

Explanation:

how bridges are built over water

Answers

It’s all depending on what method

You can use the___
to copy data from Excel to Access.

Answers

Answer:

You can use the Import spreadsheet wizard program.

Explanation:

On the Office ribbon, select the External Data tab and click Excel. The "Get External Data - Excel Spreadsheet" wizard appears. In the File name field, browse to the Excel file. Select the "Import the source data into a new table in the current database" option and click OK.

[ASAP!] Which of these can be a problem for people with accessibility issues? Select 4 options.

1. using all uppercase text
2. using left-aligned text
3. putting two spaces after a period
4. flashing images
5. using an image instead of text​

Answers

The answers are:

- Using all uppercase text

- Putting two spaces after a period

- Flashing images

- Using an image instead of text

Proof:

Using full capital text, inserting two spaces after a period, flashing pictures, and using an image in place of text are all accessibility issues. Options A, C, D and E are correct.

What are the accessibility issues?

When providing access to the product or service, the following accessibility concerns must be taken into account:

Visual problems including color blindness or poor vision.Similar to photosensitive epilepsy, seizures.Mobility or motor problems, such as those of wheelchair users.

Making information, activities, and/or surroundings understandable, relevant, and useable for as many individuals as feasible is the practice of accessibility. Architectural design is a typical instance of accessibility that we have all probably seen.

Accessibility concerns include utilizing all capital letters, adding two spaces after a period, flashing images, and replacing text with an image.

Therefore, option A, C, D and E are correct.

Learn more about the accessibility issues, refer to:

https://brainly.com/question/17351493

#SPJ2

Onsite Services for Ruggedized Notebooks are limited to CRU parts and Service Assembly
Parts.

True

False

Answers

Onsite Services for Ruggedized Notebooks are limited to CRU parts and Service Assembly is a false statement.

What are Onsite Services?

In an On-Site Service, a Service Provider is one that carry out any kind of repair or exchange of a product at given location that is the location of the customer.

Onsite Services for Ruggedized Notebooks is not limited to CRU parts and Service Assembly as one can do any form of system repairs there most especially based on customer preference or what is wrong with the system.

Learn more about Onsite Services from

https://brainly.com/question/11218668

Question #4
Dropdown
You are writing a program to ask the user for the coordinates of two points and then find the slope. Identify each step as input, process, or
output. Not all steps are listed.
#Ask the user for the x-coordinate of the first point.
#Calculate the slope
#Display the slope

Answers

Answer:

The y-intercept is going to fall by -2 but the x-intercept will run +5

Explanation:

Becuase the derivative of the equation causes this when plugged into the formula

Ask the user for the x-coordinate of the first point: Input.

Calculate the slope: Process.

Display the slope: Output.

Ask the user for the x-coordinate of the first point:

This step involves obtaining data from an external source, which is the user.

The program needs the x-coordinate of the first point to perform calculations.

The program doesn't have this information beforehand, so it relies on the user to provide it.

Hence, it falls under the category of input.

Calculate the slope:

This step involves performing computations and transformations on the provided input data.

The program takes the coordinates of two points, computes the differences in y-coordinates and x-coordinates, and then calculates the slope using these differences.

This involves mathematical operations and logic, which is processing the data to derive a meaningful result.

Therefore, it is categorized as a process.

Display the slope:

This step involves presenting the result of the calculations to the user. The program is sending information to an external destination, which is the user's screen.

The calculated slope is being made accessible to the user, providing them with the outcome of the computation.

Hence, it falls under the category of output.

To learn more on Programming click here:

https://brainly.com/question/33815139

#SPJ3

Data in the form of digits is called

Answers

Numeric data because it consist of numbers

What is a collection of information in a
row representing one object called?

Answers

Record in terms of ict

What components are part of the secondary ignition system ( high Voltage)

Answers

Answer:

The components that are part of the secondary ignition system ( high Voltage ) are :: Distributor cap, Distributor rotor, Spark plug cable, and Spark plug.

Explanation:

They are called a part of secondary ignition system because they can take and increase the voltages as much as 40,000 volts.

Three clocks exist in a room: The round clock is 10 minutes behind the actual time The rectangular clock is 5 minutes after the actual time The squared clock is 5 minutes slower than the round clock The time now on the squared clock is 08:05, what is the time now on the rectangular clock? *

Answers

Answer:

08:15

Explanation:

Let the actual time be x

Round Clock = x-10

Rectangular Clock = x-5

Square Clock = x-15

Square Clock = 08:05

08:05 = x-15

08:20 = x

Rectangular Block = x-5 = 08:15

The time now on the rectangular clock is 8:25  The squared clock is 5 minutes slower than the round clock.

What is real-time?

Real-time is the time at which the acts take place during the original time.

Let the real-time be.The spherical clock is 10 mins in the back of the real-time.So, the time on the spherical clock = x - 10 minsThe square clock is five mins after the real time.So, the time on rectangular clock = x + five minsThe rectangular clock is five mins in the back of the spherical clock.So, the time on spherical clock = the time on spherical clock - five mins = x - 10 mins-five minutes = x - 15 minsTime at the squared clock is given as 08/0So, we are able to write: x - 15 mins =08:05 Add 15 mins on each sides: x - 15 minutes + 15 mins =08:05+15 minsFrom this we get: x = 08/20 Now, time at the square clock = x + five minsSubstituting the price of x:The first alternative is the proper answer.Comment > time at the square clock =08:25 time at the square clock =08:25

Read more about the time :

https://brainly.com/question/2854969

#SPJ2

What happens when you press the enter key at the end of a bulletin text

Answers

it starts a brand new line to start a sentence

What exactly is github?

Answers

GitHub is a code hosting platform for version control and collaboration.

It lets you and others work together on projects from anywhere.

Explanation:

Hope it helps you!!

True or False: F Layout is better for users who read left to right, but layout is better for users who read right to left.

Answers

Answer:

false

Explanation:

it depends on the user

Is it possible to have the present value of a future payment that is greater than the future payment (i.e. the present value is $1200, and the future payment is $1000)? Explain, using complete, grammatically-correct sentences.

Answers

Note that the present value always less than the future value and so Is it not possible to have the present value of a future payment that is greater than the future payment.

Can present value be greater than future cash flows?

The present value is known to be often less than the future value this is due to the reason that money has interest-earning rate on top of it.

So therefore, that base on the fact that as long as interest rates are positive, then the present value of a sum of money will have to be less than its future value.

Learn more about present value from

https://brainly.com/question/20813161

When you run your Windows Form application, what is the lifespan of a global variable (also known as a "field" or "class" variable)?

Answers

The lifespan of a global variable (also known as a "field" or "class" variable) exist only until any additional classes are initialized.

What is Windows form application?

Windows Forms is defined as a form of UI backbone that is often uused for creating Windows desktop apps.

It is known to help its user in a lot of ways to produce or make  desktop apps using  the visual designer given in Visual Studio. It has a lot of Functionality such as drag-and-drop placement of visual controls and others.

See full question below

When you run your Windows Form application, what is the lifespanof a global variable (also known as a “field” or “class”variable)?

a. during the initial click button event

b. global variables only exist if they are constants

c. only until any additional classes are initialized

d.as long as the form is running

Learn more about Windows  from

https://brainly.com/question/26420125

Other Questions
anyone know how to answer questions helppp pleaseeeeeIn Noteflight, create an A chromatic scale, ascending and descending, using 8th notes in the treble clef. what is not a molecule Why is a strong skeletal system important for leading an active lifestyle? For time t0 , the acceleration of an object moving in a straight line is given by a(t)=sin(t23). what is the net change in velocity from time t=0. 75 to time t=2. 25 ? A phenotype ratio of 9:3:3:1 in the offspring of a mating of two organisms heterozygousfor two traits is expected when:A. the genes reside on the same chromosomeB. each gene contains two mutationsC. the gene pairs assort independently during meiosisD. only recessive traits are scoredE. none of the above HELP ME PLEASE I GIVE YOU 100 POINTS PLEASE HELP MESome of the following groups of words are sentences, and some are fragments. Write S before each group that is a sentence. Write F for each group of words that is not a sentence.1. Daniel Boone was born in Pennsylvania.2. The beagle chased the raccoon up the tree.3. The huge oak in our front yard.4. Darla, bring my folder.5. On a chair beside the front door.6. Where in the world?7. I said.8. Who went to town yesterday?9. Still don't.10. Where does the broom? I will give the brainiest to correct answer. Help, please (5) to the 7 over 3 power Help me answer this question about congruent triangles. 50 points available. what is A two-column proof Rebecca had these results when she drew 10 tiles from the bag. The bag has a total of 20 tiles. Her classmates got similar results. What is a good predication for the number of green and red tiles out of 20?10 green 10 red15 green 5 red14 green 6 red12 green 8 red I have to choose the tense on the left. Answer below due today at noon A person is going for a walk in the evening. To make sure that she can be seen walking when it gets dark, she wears a glow stick around her neck. The glow stick can be used as a light source when she bends the stick. Although the stick is sealed, bending the stick allows two chemicals to come in contact and react with each other. During the chemical reaction, light is given off by the glow stick.When the reaction stops, light is no longer given off. What happens to the mass of the glow stick after the chemical reaction occurs? Explain citing evidence from the prompt and identify the scientific law that supports your explanation.(give me claim,evidence,reasoning) What is the period of time that elapses between the generation. What is the slope-intercept equation for this line? To determine the age of fossils, scientists use radiometric dating. This involves measuring quantities of certain radioactive isotopes and using mathematical equations to compare the amounts of each isotope present.Suppose a scientist dates a piece of petrified wood and calculates that it is approximately 23,881,392.3102 years old. The petrified wood is later displayed in a museum.What is the most reasonable way for the museum tour guide to describe the age of the wood to museum visitors?(A): 2.3881107 years old(B): 24 million years old(C): 23.8813923102 mega years old(D): 23 billion years old In a ____ world, the routing updates carry subnet mask information and allow different masks to be used on different subnets. A. identifying subordinate clauses and verbal phrasesidentify each boldfaced group of words by writing sc for a subordinate clause andvp for a verbal phrase.1. locusts are some of the noisiest insects that live in this part of the country.2. when locusts rub their hind legs against their wings, they make a sound.3. to listen to locusts on a hot summer night can be pleasant.4. have you heard the sound that they make?5. locusts are louder, but hornets are more threatening.6. hearing the buzz of a hornet, i start running.