Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Consider a list2 with values 70,60,50. What will be the output statements considering that the above objecthas been created already.a. print (list2*2)
Home
Education
Consider a list2 with values 70,60,50. What will...
asked
Dec 29, 2021
in
Education
by
JackTerrance
Consider a list2 with values 70,60,50. What will be the output statements considering that the above object has been created already. a. print (list2*2) (ii) print(list2*3) Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 29, 2021
by
JackTerrance
Best answer
[70, 60, 50, 70, 60, 50] [70, 60, 50, 70, 60, 50, 70, 60, 50] * operator causes a list to repeat n number of times
Related questions
0
votes
Q: What is the output of print list1 + list2, if list1 = [ 'abcd', 786 , 2.23, 'john', 70.2 ] and ist2 = [123, 'john']?
What is the output of print list1 + list2, if list1 = [ 'abcd', 786 , 2.23, 'john', 70.2 ] and ist2 = [123, 'john']?...
asked
Nov 23, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Finding covariance matrix in steps from the given below data.ABC =Math Physics English90 80 4090 60 8060 50 7030 40 70
Finding covariance matrix in steps from the given below data. ABC = Math Physics English 90 80 40 90 60 80 60 50 70 30 40 70 30 20 90 Select the correct answer from above options...
asked
Nov 28, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: (i) x=5, y=6,2=20Q8) Consider the following statements and describe the output/statement required:(a) To retrieve the data type of the inputted string “Covid 19” stored inside the variable Disease.(b) x,y=”99″, “9”,Find the concatenated value of x and y and also retrieve the address of x and y.(c) Q= “Class XI” * 3
(i) x=5, y=6,2=20 Q8) Consider the following statements and describe the output/statement required: ... multiple assignment statements. Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: 2 6 10 14 18 22 26 30 34 42 46 50 54 58 या च्या तुन तीन संख्या घेऊन उत्तर 60 आले पाहिजेत
2 6 10 14 18 22 26 30 34 42 46 50 54 58 या च्या तुन तीन संख्या घेऊन उत्तर 60 आले पाहिजेत Select the correct answer from above options...
asked
Dec 25, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What will be the output of the following Python code? >>>list1 = [1, 3] >>>list2 = list1 >>>list1[0] = 4 >>>print(list2)
What will be the output of the following Python code? >>>list1 = [1, 3] >>>list2 = list1 >>>list1[0] = 4 >>>print(list2) a) [1, 4] b) [1, 3, 4] c) [4, 3] d) [1, 3]...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
0
votes
Q: search element 20 30 40 60 70 80 90 100 element in an array find the element 20
search element 20 30 40 60 70 80 90 100 element in an array find the element 20 Select the correct answer from above options...
asked
Nov 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What will be the output of print str[2:5] if str=’hello world!?
What will be the output of print str[2:5] if str=’hello world!? Select the correct answer from above options...
asked
Dec 25, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: TOTALPERCENTAGEGRADE1 A 35 80 78 70 263 65.752 B 65 48 68 40 221 55.253 C 47 66 65 50 228 57
TOTAL PERCENTAGE GRADE 1 A 35 80 78 70 263 65.75 2 B 65 48 68 40 221 55.25 3 C 47 66 65 50 228 57 4 D 89 ... 8 H 69 78 67 67 281 70.25 Select the correct answer from above options...
asked
Dec 12, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What will be the output produced by following code statements? State reason(s).i. (17%5) == (17%5.0)ii. (87 // 5.0) == (87 / 5.0)
What will be the output produced by following code statements? State reason(s). i. (17%5) == (17%5.0) ii. (87 // 5 ... int((87 / 5.0)) Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What will be the output produced by following code statements? State reason(s).i. (17%5) == (17%5.0)ii. (87 // 5.0) == (87 / 5.0)
What will be the output produced by following code statements? State reason(s). i. (17%5) == (17%5.0) ii. (87 // 5 ... int((87 / 5.0)) Select the correct answer from above options...
asked
Dec 18, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Considering the following sorted array and the search key as 89, what will be the sequence of keys in the array that
Considering the following sorted array and the search key as 89, what will be the sequence of keys in the array ... searching for 89? Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: With reference to democracy, consider the following statements: A) In a democracy, only leaders
With reference to democracy, consider the following statements: A) In a democracy, only leaders elected by people should ... A & B Select the correct answer from above options...
asked
Aug 3, 2022
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: With reference to the fundamental rights, consider the following statements: A) Indian constitution guarantees fundamental
With reference to the fundamental rights, consider the following statements: A) Indian constitution guarantees fundamental ... nor B Select the correct answer from above options...
asked
Aug 3, 2022
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: The data type of a column can never be changed once it has been created. True or false?
The data type of a column can never be changed once it has been created. True or false? Select the correct answer from above options...
asked
Nov 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What is the output of print tuple + tinytuple if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 ) and tinytuple = (123, 'john')?
What is the output of print tuple + tinytuple if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 ) and tinytuple = (123, 'john')?...
asked
Nov 24, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
...