glass
pen
clip
papers
heaphones

Jawaharlal Nehru Technological University Language Theory Python Worksheet

Jawaharlal Nehru Technological University Language Theory Python Worksheet

Description

Hello,

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

(3) Assignments:

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: https://en.wikipedia.org/wiki/Fibonacci_number 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: https://en.wikipedia.org/wiki/Prime_number 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: https://en.wikipedia.org/wiki/Area_of_a_circle 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.

=====================================

Unit 3 Self-Assessment

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.