subject
English, 01.12.2020 05:00 lionscoachjose

Write a program in python that meets the following criteria: Use an appropriate data structure to read in at least 10 integers from the user.
Perform a variety of mathematical operations on the numbers, and print the results of the following:
All the prime numbers
The greatest common divisor between the first and second number
Square of the 3rd number
Square root of the 8th number
The absolute value of the 10th number
Ask the user to input a decimal, round it to 2 decimal places, and then overwrite the 4th number in the list.
Change the 6th number to be the result of the following expression:
The 5th number times the 3rd number divided by the 1st number (use integer division), all added to the 7th number.

Use your new numbers to create a line chart using Pygal. Save the chart to a file called U7activity. svg. (Hint: instead of using pygal. HorizontalBar(), use pygal. Line(). You only need three lines of code to create this line chart with your list data.)
(If you are unable to get your program to work correctly, you may also submit a paragraph for partial credit explaining what the problem is and how you think it could be fixed.)

ansver
Answers: 1

Another question on English

question
English, 21.06.2019 17:30
"as one of our outstanding historical figures once said, ‘when a great democracy is destroyed, it will not be because of enemies from without but rather because of enemies from within.’" (paragraph 7) how does this quote reveal mccarthy’s point of view and advance the purpose of his speech?
Answers: 2
question
English, 21.06.2019 19:00
How does the dialogue between henry and his friends? “californians tale”
Answers: 1
question
English, 21.06.2019 20:10
Read this sentence: devon was nervous at the thought of speaking in front of a large audience. which word could a translator use to replace the underlined word without changing the meaning of the sentence? a. angry b. excited c. d. worried
Answers: 2
question
English, 22.06.2019 00:30
According to the author, where can we find the answer to our nation’s “most pressing problem”? does that seem logical?
Answers: 3
You know the right answer?
Write a program in python that meets the following criteria: Use an appropriate data structure to r...
Questions
Questions on the website: 13722360