Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

new to python and can not figure out why this code is not working. any help would be greatly appreciated. Thank you in advance Edit

new to python and can not figure out why this code is not working. any help would be greatly appreciated. Thank you in advance image text in transcribed
Edit Source Debug Tools Window Help sting3.1 listing 3.2 programming Exercise 3.5 programmingExercise.py 1 ( 1 # Programming exercise 3.5 2 1mport math sides - float(input("Enter the number of sides: ")) length = float(input("Enter the side length: ")) 7 area = float( sides - float(length 2)) / 42 stan (3.1415 / sides) Exceptions Call Stack Options File "/home/anthony Documents/CSC-101/ programming Exercise3 5", line 7. in module area-roatr sides Floatflength - 2/4 tan(3.1425 / sides) builtins.NameError: name 'tan' is not defined 10 11 12 13 Search Stack Data Debug 10 Python Shell Debug Vistdin.stdout stderr) appears below Enter the number of sides: 5 Options Une 7 Colo O

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_2

Step: 3

blur-text-image_3

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

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions

Question

Who was the first woman prime minister of india?

Answered: 1 week ago

Question

Explain the concept of going concern value in detail.

Answered: 1 week ago

Question

Define marketing.

Answered: 1 week ago

Question

What are the traditional marketing concepts? Explain.

Answered: 1 week ago

Question

a. What is the purpose of the team?

Answered: 1 week ago

Question

a. How are members selected to join the team?

Answered: 1 week ago