subject
Computers and Technology, 02.12.2020 01:00 JPU

50 POINTS FOR PYTHON CODING 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 Computers and Technology

question
Computers and Technology, 22.06.2019 06:40
Match the personality traits with their description
Answers: 2
question
Computers and Technology, 22.06.2019 19:20
Write a program that prompts the user to input a string. the program then uses the function substr to remove all the vowels from the string. for example, if str = "there", then after removing all the vowels, str = "thr". after removing all the vowels, output the string. your program must contain a function to remove all the vowels and a function to determine whether a character is a vowel.
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
Which of the following factors would your hypothetical supervisor look at when deciding whether to test a biological material sample for dna? the amount of other evidence you have implicating a suspect in a crime the annual budget for the crime lab both of the above none of the above; you would almost always order a test
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
You know the right answer?
50 POINTS FOR PYTHON CODING Use an appropriate data structure to read in at least 10 integers from...
Questions
question
Mathematics, 12.03.2021 20:20
question
Mathematics, 12.03.2021 20:20
question
Mathematics, 12.03.2021 20:20
question
Mathematics, 12.03.2021 20:20
question
Mathematics, 12.03.2021 20:20
Questions on the website: 13722360