NA – Language theory – Python Unit 3

Learning Goal: I’m working on a python multi-part question and need an explanation and answer to help me learn.



Please write a program as per given instructions below and complete assessment also which mentioned questions below


Luke Chapters 9 & 10
Luke Chapters 11 & 12

Write a program that prompts the user for a current temperature and displays to the screen whether they need a heavy coat, light jacket, or no jacket. Heavy coats are worn when it is below 50 degrees, light jackets are worn when it is below 67 degrees, otherwise no jacket is required.

Given: write a program that fills a list up with the first 1000 numbers in the fibonacci sequence. Make sure to test your output by printing some of the elements of your list to ensure your logic is working.

Given: write a function named isPrime that takes a single parameter and RETURNS True if it is a prime number and False otherwise. Make sure to test your function by calling it with various numbers as parameters.

Given: write a function called areaOfACircle that takes the radius of a circle as a parameter and returns the area. Note that you can use 3.14 as the constant for PI.

Write a function named genCircleInfo that takes the radius of a circle and returns a dictionary containing name/value pairs for the radius, whether or not the radius is a prime number, and the area of the circle with that radius. You should use the functions created previously.
Write a program that files a list with the result of genCircleInfo when called on all circle radii between 1 and 1000. Your end result should be a list of dictionaries.



To be submitted with all programming related assignments to fill in the gaps between what you submitted and what you struggled with.

Answer the following questions and paste it into the top of the submission box for each homework assignment for the class.

How long did you spend on this assignment?

2. Based on your effort, what letter grade would you say you earned?

3. Based on your solution, what letter grade would you say you earned?

4. Provide a summary of what doesn’t work in your solution, along with an explanation of how you attempted to solve the problem and where you feel you struggled.

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more