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

A system that stores transactions in a single database, but processes them at various sites is referred to as

a. Centralized system.

b. Database management normalization system.

c. Decentralized system.

d. Distributed system

Answers

Answer:

d. Distributed system

Explanation:

this answer is taken from the book Wiley CPAexcel Exam Review 2015 Study Guide July: Business Environment

its important to remember that it is a single database however the processing takes place off-site. this off-site is the key to remembering it is DISTRIBUTED through various sites

. What will be the output of the following program?

var =

if

100

(var =

100): bye!"

print

"Value

of expression

is 100"

print

"Good

Answers

Answer:

Similarly x % 100 yields the last two digits. 4.2. Boolean values and expressions¶. The Python type for storing true and false values is called bool

Dwayne Alexander is working on a project promoting a fictitious product for his marketing class. He wants to use animation to show the product being used, but the only animations he has created are in PowerPoint presentations. Research three animation apps for beginners: one 2-D animation app, one 3-D animation app, and one of your choice. List the pros and cons of each animation app. Be sure to consider cost, learning curve, and availability.

Answers

The following are examples of animation apps:

Toon Boom Animation (2-D)Prisma3D (3-D) and AnimeTok (3-D)

What are the Pros and the cons of each app listed above?

Toon Boom Animation Pros:

It has a great set of toolsIt has camera angles functionalityHas a vector drawing tool

Cons:

It is expensive.

Prisma3D (3-D) Pros:

It is good for modeling;Easy to use interface

Cons:

It has too many bugs.lacks sculpting tools

AnimeTok (3-D) Pros:

It makes it easy to move the characters easilyIt is easy to understand

Cons:

It has too many adsdoes not have an undo and redo button

Learn more about Animation Apps at:

https://brainly.com/question/7279789

6.1.5: Function definition: Volume of a pyramid.


Define a function calc_pyramid_volume with parameters base_length, base_width, and pyramid_height, that returns the volume of a pyramid with a rectangular base.

Sample output with inputs: 4.5 2.1 3.0
Volume for 4.5, 2.1, 3.0 is: 9.45
Relevant geometry equations:
Volume = base area x height x 1/3
Base area = base length x base width.

Answers

Answer:

def calc_pyramid_volume(base_length, base_width, pyramid_height):

   return (base_length*base_width*pyramid_height*1/3)

The code given below is in Java as it calculates the volume of the pyramid by creating the function. The base length as well as the base width, and the pyramid height has been passed as the parameters to the function.

The function of calc_pyramid_volume with parameters base_length.

//Main.java

public class Main

{

public static void main(String[] args) {

//Initialize the variables

double base_length = 4.5;

double base_width = 2.1;

double pyramid_height = 3.0;

//Call the the function with the given parameters

System.out.printf("Volume for %.1f, %.1f, %.1f is: %.2f", base_length, base_width, pyramid_height

, pyramid_volume(base_length, base_width, pyramid_height));}

Therefore,

//function that takes length, width and height as parameters and returns the volume

public static double pyramid_volume(double base_length, double base_width, double pyramid_height) {

//calculate the base area by multiplying the base length and base width

double base_area = base_length * base_width;

Learn more about pyramid on:

https://brainly.com/question/13057463

#SPJ2

To add a Wrap Text command to your document in Word Online, what is the first step you need to take?

Group of answer choices

Select the Format tab.

Select the image on your document to trigger the Picture Tools Format tab.

Select the Insert tab.

Select the Wrap Text command, and choose how the text will wrap around an image.

Answers

Answer:

Select the Wrap Text command, and choose how the text will wrap around an image.

Explanation:

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

Income taxes are an amount of money based on earnings and paid to the local, state, or Federal government
False
True

Answers

The answer is TRUE.
hope this helps x

Answer:

True

Explanation:

Hope you have a great day!

Which function can be used to insert the current date into a spreadsheet?
DATE
TODAY
MM/DD/YYYY
DATE&TIME
Help please

Answers

Answer:

its MM/DD/YYYY

Explanation:

What is the purpose of linking text boxes?

Answers

The answer that the person answered is the same answer I was gonna answer so Yh it’s correct

What is the scope of AS-26

A. All of these
B.Rights and Expenditure on the exploration for or development of Minerals
C. Financial Assets
D. Intangible Assets that are covered by another as

Answers

Answer:

is held for use in the production or supply of goods and services or for rentals to others etc

10. Write a function called replace_elem that takes an array and two values and uses the simple search
algorithm to replace all instances of the first value with the second value
Sample Run 1:
a = [7, 4, 10, 3, 7, 2, 4, 5]
print (replace_elem(a, 4, 6))
Should output:
[7, 6, 10, 3, 7, 2, 6, 5]
Sample Run 2
a = [7, 3, 10, 3, 7, 2, 9, 5]
print (replace elem(a, 4, 6))
Should output
[7, 3, 10, 3, 7, 2, 9, 5]

Answers

The function that replaces the values in an array is as follows:

def replace_elem(a, integer1, integer2):

    for i in range(len(a)):

         if a[i] == integer1:

              a[i] = integer2

    return a

print(replace_elem([7, 4, 10, 3, 7, 2, 4, 5], 4, 6))

Code explanation.

The code is written in python.

We defined a function named "replace_elem". The function accepts an array a, and integers integer1 and integer2.Then, we used a loop to loop the index of the array. If any of the index value is equals to the integer1, we replace it with integer2.Then return the new values of the array a.Finally, we call the function with its parameters.

learn more on function here: https://brainly.com/question/15691123

UCLA Extension's marketing department wants
to study the effectiveness of their email
campaign. The department surveyed 40
students randomly selected from a contact
database. The survey shows 26 of the 40
students surveyed enrolled in one course
because of reading the email. 8 of the 40
enrolled in three courses after reading the
email, and 6 of the 40 did not enroll even after reading the email.

The effectiveness of the email campaign is measured by course enrollment. Can you calculate the mean as a measure of central tendency
reading the email?

Answers

The measure of central tendency to determine the effectiveness can be the mean, median or mode

It is true that you can calculate the mean as a measure of central tendency for reading the email

How to determine the true statement?

The survey result is given as:

Sample size, n = 40Enrolled in one course = 26Enrolled in three courses = 8Not enrolled = 6

To determine if the email is effective or not, we simply carry out a test of significance.

However, if the central of tendency is to be used to determine the effectiveness; it is best to use the mean.

Hence, it is true that you can calculate the mean as a measure of central tendency for reading the email

Read more about measure of central tendency at:

https://brainly.com/question/17631693

Data in the form of digits is called

Answers

Numeric data because it consist of numbers

could be developed to attack cancer cells ​

Answers

what is the question

Researchers are actively exploring innovative targeted therapies to specifically attack cancer cells and improve treatment outcomes.

Researchers are actively exploring various innovative approaches to combat cancer.

One promising avenue is the development of targeted therapies that can specifically attack cancer cells.

These therapies aim to identify unique markers or characteristics present in cancer cells and selectively target them while sparing healthy cells.

By doing so, they can potentially minimize the side effects often associated with conventional treatments such as chemotherapy.

Targeted therapies can take different forms, including small-molecule drugs, monoclonal antibodies, or gene-based therapies.

Small molecule drugs are designed to inhibit specific molecules or signalling pathways that are crucial for cancer cell growth and survival. Monoclonal antibodies, on the other hand, can recognize and bind to specific proteins on cancer cells to block their function or deliver toxic substances directly to the tumour.

Gene-based therapies involve modifying the genetic material of cancer cells to disrupt their growth or induce cell death.

The development of these targeted therapies requires extensive research and clinical trials to ensure their safety and efficacy.

Scientists are constantly working to identify new targets and refine existing approaches to enhance their ability to attack cancer cells effectively.

To learn more about cancer cells visit:

https://brainly.com/question/30393532

#SPJ3

The complete question is:

Can advanced technologies be developed to specifically attack cancer cells and aid in the fight against this disease?

Woulf you rather :
Be a Alpha Wolf
or
Be a Alpha Shark

Answers

Answer:

Alpha wolf

Explanation:

Their superior

(also what is this question? lol)

Answer:

don't know just wanted my points you stole

Explanation:

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.

You have a filtered dataset for Customer Sales with some null value rows. You want to remove these rows completely. How will you do this

Answers

The option is to Deselect (blank) in the pull-down menu for Customer Sales in the dataset.

How do one delete these rows completely?

If a person is working in the Query Editor (that is the place where one can get data, before you close and apply).

The right thing to do is to select the column that  you want to use to check for nulls and when  the values you are looking at is really blank, you can then click the drop-down and delete Rows in the ribbon, then one can click the option of Remove Blank Rows.

See full options below

Select an answer:

Deselect (null) in the pull-down menu for Customer Sales in the Power Query Editor.

Deselect (blank) in the pull-down menu for Customer Sales in the dataset.

Change the filter so null value rows are not displayed.

Place your cursor to the left of the rows, and then select Delete.

Learn more about dataset from

https://brainly.com/question/24309209

13. For three control stations, there should be how many start buttons in parallel with the auxiliary contact?
A. six
B. three
C. one
D. nine

Answers

C only because i think the rest wrong

4. How would you reorder the animation on a slide using the Reorder
Animation tool?

Answers

Answer:

should be an undo button on the top bar

Explanation:

I hope this helps

What is the purpose of memory address?​

Answers

Answer:

A memory address is a unique identifier used by a device or CPU for data tracking.

A memory address is a unique identifier used by a device or CPU for data tracking. This binary address is defined by an ordered and finite sequence allowing the CPU to track the location of each memory byte.



A memory address is an exact assigned location in RAM used to track where information is stored. On a single computer memory IC, there can be 1 million, 2 million, or more memory addresses that can be accessed at randomly, which is why memory is called RAM (random access memory).

Do you guys answer questions about cyber security?

Answers

Answer:

yes

Explanation:

let's hear your question first.

[ASAP!] What is a widget?

1. a part of a GUI that allows a specific type of interaction with the user
2. an action taken by the user or a process, such as a user clicking a mouse or pressing a key on a keyboard
3. an algorithm for handling an error
4. a part of a program that responds to an event​

Answers

Answer:

A

Explanation:

A part of a GUI is the basic definition of a widget.

Comment any additional questions!

Answer:

A or number 1

Explanation:

I took the test and got a 100%, and this answer makes the most sense

How can I get multiple user inputs in Java ? I want to be able to use it for subtraction, addition,division and multiplication.For example it should run like
How many numbers do you want to subtract?
4
Enter 4 numbers:
1
2
3
4
result:-8

Answers

You can do something like this :

Scanner sc = new Scanner(System.in);
int[] nums = new int[4];

for(int i = 0; i < nums.length; i++) {
System.out.println("Enter next number: ");
nums[i] = sc.nextInt();

Which of the following single-phase motor will operate at high power factor? enjoy! electrical A. Split-phase motor B. Shaded pole motor C. Capacitor-start motor D. Capacitor-run motor​

Answers

Answer:

the answer is D capacitor run motor

Explanation:

IM GIVING BRAINLIEST

A special type of goal that acts as a stepping stone for other goals is called

a) an inner-term goal
b) a mid-term goal
c) a part-term goal
b) a short-term goal

Answers

Answer:

The special type of goal that qcts as a stepping stone for other goals is a short-term goal


Which part of the Word application window should the user go to for the following activities?:

Answers

Answer:

what are the activities

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

1. My grandma and I went shopping to look for old
clocks. She loves to decorate her house with rare
items. My grandma will spend days finding things
that no one else has. She tries to find items that
not many people have ever seen before.
What does the word rare mean as it is used in the
passage?
a. kind
b. usual
C.
c. common
d. uncommon

Answers

Answer:

uncommon

Explanation:

it's not common or usual because no one else finds the things

it's not kind because inanimate objects don't show feelings

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.

Specification which has little effect on the speed of a processor is

Answers

Answer:

Specification which has little effect on the speed of a processor is cache system bus speed clock speed socket type. 

Specification which has little effect on the speed of a processor is cache system bus speed clock speed socket type.

What is Specification?

A specification is frequently used to refer to a list of requirements that must be met by a material, design, good, or service. A specification is frequently a form of technical standard.

There are various forms of technical or engineering specifications (specs), and the term is used in various technical contexts in various ways. They frequently make reference to specific papers or information included in them.

The general definition of the word specification is "to state explicitly or in detail" or "to be particular." A requirement specification is a set of requirements that must be met by a certain type of product, service, design, or other element.

Therefore, Specification which has little effect on the speed of a processor is cache system bus speed clock speed socket type.

To learn more about Specification, refer to the link:

https://brainly.com/question/27900839

#SPJ3

Other Questions
Describe the importance of the nucleus membrane being part of the endoplasmicreticulum and the Golgi apparatus' membranes Look at the products of the chemical reaction to determine if the reactant added to water caused an acid reaction, a base reaction, or a neutralization reaction.AcidNeutralizationBase1. 2HF + 2CaOH -> 2H2O + 2NaF2. 3HI + 2H2O -> 2H3O+ + 3I- + H+3. 2CH3COO- + H2O -> CH3COO- + OH- + CH3COOH0.05 moles of HCL are added to 2 L of H2O. What is the molarity of the solution?Impossible to answer the question with the information provided.1.600.025M10.4 Why did the narrator's dad and gustavo decide to immigrate to the usa from el salvador? can someone help me with this I already answered half of all of them but I need to make sure It's right? The cost price of 12 candles is equal to the sellering price of 15 candles. Find the loss percent. Simply the expression 3(2y - 8) - 2y(5-y) The sum of 9 times a number and 8 is 3 1) What happens when the pressure above the surface of a liquid is equal to the vaporpressure of the liquid? Explain. 2)If the pressure on the surface of water in the liquid state is 30 kPa, the water willboil at what temperature?3) What is the vapor pressure of ethanol at its normal boiling point?4) As the pressure on a liquid is changed from 100. kPa to 120.0 kPa, what happens to theboiling point? Explain your answer.5). Which substance has the lowest vapor pressure at 75C? (1) water (3) ethanoic acid (2) propanone (4) ethanol 5 _____6). According to Reference Table H, what is the vapor pressure of propanone at 45C? (1) 22 kPa (3) 70. kPa (2) 33 kPa (4) 98 kPa 6 _____ 7). The boiling point of a liquid is the temperature at which the vapor pressure of the liquid is equal to the pressure on the surface of the liquid. What is the boiling point of propanone if the pressure on its surface is 48 kilopascals? (1) 25C (3) 35C (2) 30.C (4) 40.C 7 ________8) A liquid boils when the vapor pressure of the liquid equals the atmospheric pressure on the surface of the liquid. Using Reference Table H, determine the boiling point of water when the atmospheric pressure is 90. kPa. _____________Table F: Solubility Guidelines1. Based on the Solubility Guidelines chemistry reference table, a saturated solution ofWhich salt would be most concentrated?A) ZnCl2 B) AgCl C)BaSO4 D) PbCrO4Explain your answer.________________________________________________________________________2. Based on the Solubility Guidelines chemistry reference table, which saturated solutionwould be the least concentrated?A) barium sulfate B) sodium sulfate C) potassium sulfate D) lithium sulfateExplain your answer.________________________________________________________________________3. Solutions of AgNO3 (aq) and KCl (aq) are mixed. Will a visible reaction occur? Fill inthe missing parts to the reaction and explain your answer.AgNO3(aq) + KCl(aq) ___________ + ____________________________________________________________________________________4. Which solution will undergo a double replacement reaction with Na2CO3 (aq) to producea white solid substance?A) CaCl2 (aq) B) LiCl (aq) C) KCl (aq) D) NH4Cl (aq)5. In the laboratory, a student mixes aqueous solutions of NiSO4 and NaOH. What will bethe result of this experiment?________________________________________________________________________ 5. A mass attached to a spring oscillates and completes 50 full cycles in 30 s. What is the time period and frequency of this system?Please show all of your work. Part AFind the website for your states department of motor vehicles (DMV). Investigate the minimum coverage requirements established by your state, and list these coverage requirements:Injury or death to one personInjury or death to more than one personDamage to property Momentum questions help i want your opinion Subconscious Means of or concerning the part of the mind of which one is not fully aware but which influences one's actions and feelings Like a dream. What is something that you do or did in your subconscious, that you would not normally do in your conscious mind? What role did the mediterranean play in the development of large empires, like ancient greece and rome?. To quickly locate the countities with the largest populations on Earth whichdistribution map would you use?A Religious distributionBencsibutionC Political distributiona population distributie how much electrical energy (in kilowatt-hours) would a 60.0W light bulb use in 60.0 days ifvleft steadily Please help answer the attached question help 1 hour left please 1) on a test suzy has a diagram of a regular prism and pyramid. both have a height of 4 inches, both have square bases with the side lengths of 6 inches, and the pyramid has a slant height of 5 inches. which shape has the larger surface area? a) they have the same surface area. b) the prism does by 72 square inches. c) the pyramid does by 72 square inches. d) there is not enough information to determine the surface area. What other symbolic value do the aztec pyramids hold? a. they represented the planets. b. they represented the power they have over the land. c. they represented mountains, a source of life-sustaining water and fertility. please select the best answer from the choices provided a b c Explain how changing American demographics have influenced housing patterns from 2000 to today.---For reference, the questions that proceeded this were:- Define the geographic concept urbanization.- Describe how the geographic concept of urbanization impacts the cultural landscape.- Describe how the geographic concept of urbanization impacts the physical landscape.- Explain the degree to which zoning laws impact urban planning.- Explain one way that the government assists with economic OR culture exchange within cities.- Describe how Ravenstein's Laws apply to urban growth patterns.