Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The third number multiplied by the first number The sum of all three numbers divided by the third numberOptional Bonus Task 1 Let's try some

The third number multiplied by the first number
The sum of all three numbers divided by the third numberOptional Bonus Task 1
Let's try some slightly more complex maths. Follow these steps:
Create a new Python file in the Dropbox folder for this task, and call it
optional_task1.py.
Ask the user to enter the lengths of all three sides of a triangle.
Calculate the area of the triangle.
Print out the area.
Hints
If sidel, side 2 and side 3 are the sides of the triangle:
sidel + side 2+side3 and
, area =?2(s(s-a)**(s-b)**(s-c))
You'll need to be able to calculate the square root (this may help)
Optional Bonus Task 2
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions