subject

Consider the following code: temp = []
temp. append ([25, 38, 47, 47, 24, 50, 20, 48, 46, 24, 21, 32, 40]).
temp. append ([50, 20, 48, 46, 24, 21, 32, 40, 44, 47, 25, 22, 29])
temp. append ([21, 32, 40, 44, 47, 25, 22, 29, 26, 39, 43, 30, 49])
print (temp[1][2])
What is output?
O 20
0 ООО
48
38

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
1)consider the following code snippet: #ifndef book_h#define book_hconst double max_cost = 1000.0; class book{public: book(); book(double new_cost); void set_cost(double new_cost); double get_cost() const; private: double cost; }; double calculate_terms(book bk); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_cost should be removed since header files should not contain constants.c)the definition of book should be removed since header files should not contain class definitions.d)the body of the calculate_terms function should be added to the header file.
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
Jason, samantha, ravi, sheila, and ankit are preparing for an upcoming marathon. each day of the week, they run a certain number of miles and write them into a notebook. at the end of the week, they would like to know the number of miles run each day, the total miles for the week, and average miles run each day. write a program to them analyze their data. your program must contain parallel arrays: an array to store the names of the runners and a two-dimensional array of five rows and seven columns to store the number of miles run by each runner each day. furthermore, your program must contain at least the following functions: a function to read and store the runners’ names and the numbers of miles run each day; a function to find the total miles run by each runner and the average number of miles run each day; and a function to output the results. (you may assume that the input data is stored in a file and each line of data is in the following form: runnername milesday1 milesday2 milesday3 milesday4 milesday5 milesday6 milesday7.)
Answers: 3
question
Computers and Technology, 23.06.2019 08:30
Based on your knowledge of a good network, describe what you think is a perfect network would be. what kind of information and resources could users share on this network. what would the network administrator do? what kind of communication would be used?
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Assume a class window with accessor method getwidth that accepts no parameters and returns an integer. assume further an array of 3 window elements named winarr, has been declared and initialized. write a sequence of statements that prints out the width of the widest window in the array.
Answers: 2
You know the right answer?
Consider the following code: temp = []
temp. append ([25, 38, 47, 47, 24, 50, 20, 48, 46, 24...
Questions
question
Mathematics, 04.02.2021 09:50
question
Mathematics, 04.02.2021 09:50
question
Mathematics, 04.02.2021 09:50
question
Mathematics, 04.02.2021 09:50
question
Chemistry, 04.02.2021 09:50
question
Mathematics, 04.02.2021 09:50
question
English, 04.02.2021 09:50
question
History, 04.02.2021 09:50
Questions on the website: 13722361