Computers and Technology

Using PythonAnywhere, write a program that meets the following criteria: 1. Use an appropriate data structure to read in at least 10 integers from the user.
2. Perform a variety of mathematical operations on the numbers, and print the results of the
following:
i. All the prime numbers
ii. The greatest common divisor between the first and second number
ili. Square of the 3rd number
iv. Square root of the 8th number
v. The absolute value of the 10th number
vi. Ask the user to input a decimal, round it to 2 decimal places, and then overwrite the 4th number
in the list.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 08:30, mai1261
Helen's credit card has an apr of 15.32% and a grace period of 17 days and helen pays her balance in the full every month. if her last billing cycle ended on september 26, 2009, and she made her payment on october 11, 2009, did she owe any interest on her last statement's balance?
Answers: 3
image
Computers and Technology, 23.06.2019 17:00, Need1ng
The more powerful, 60 volt cables and the main power shut-off on an hev are both colored orange.
Answers: 1
image
Computers and Technology, 24.06.2019 00:30, Auttyrain3929
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
image
Computers and Technology, 24.06.2019 00:50, anthonycraig0205
3. what is the output of the following statements? temporary object1; temporary object2("rectangle", 8.5, 5); temporary object3("circle", 6, 0); temporary object4("cylinder", 6, 3.5); cout < < fixed < < showpoint < < setprecision(2); object1.print(); object2.print(); object3.print(); object4.print(); object1.set("sphere", 4.5, 0); object1.print();
Answers: 1
Do you know the correct answer?
Using PythonAnywhere, write a program that meets the following criteria: 1. Use an appropriate data...

Questions in other subjects: