Blogmepost
Latest Questions
Contact Us
What is the output of ['Hi!'] * 4?
Home
>
Technology
>
What is the output of ['Hi!'] * 4?
0
votes
16
views
What is the output of ['Hi!'] * 4?
python-programming-language-interview-questions
asked
Nov 26, 2020
in
Technology
by
JackTerrance
(
191k
points)
Add Answer
1
Answer
0
votes
['Hi!', 'Hi!', 'Hi!', 'Hi!']
answered
Nov 26, 2020
by
JackTerrance
(
191k
points)
Related questions
0
votes
1
answer
107
views
107
views
What is the output of [1, 2, 3] + [4, 5, 6]?
asked
Nov 26, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
20
views
20
views
What is the output of L[1:] if L = [1,2,3]?
asked
Nov 26, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
66
views
66
views
What is the output of L[2] if L = [1,2,3]?
asked
Nov 26, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
33
views
33
views
What is the output of 3 in [1, 2, 3]?
asked
Nov 26, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
15
views
15
views
What is the output of len([1, 2, 3])?
asked
Nov 26, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
13
views
13
views
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
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
18
views
18
views
What is the output of print tinytuple * 2 if tinytuple = (123, 'john')?
asked
Nov 24, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
19
views
19
views
What is the output of print tuple[2:] if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 )?
asked
Nov 24, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
15
views
15
views
What is the output of print tuple[1:3] if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 )?
asked
Nov 24, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
20
views
20
views
What is the output of print tuple[0] if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 )?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
14
views
14
views
What is the output of print tuple if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 )?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
14
views
14
views
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
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
13
views
13
views
What is the output of print tinylist * 2 if tinylist = [123, 'john']?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
31
views
31
views
What is the output of print list[2:] if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
20
views
20
views
What is the output of print list[1:3] if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
15
views
15
views
What is the output of print list[0] if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
17
views
17
views
What is the output of print list if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
15
views
15
views
What is the output of print str + "TEST" if str = 'Hello World!'?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
21
views
21
views
What is the output of print str[2:] if str = 'Hello World!'?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
22
views
22
views
What is the output of print str[2:5] if str = 'Hello World!'?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
13
views
13
views
What is the output of print str[0] if str = 'Hello World!'?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
22
views
22
views
What is the output of print str if str = 'Hello World!'?
asked
Nov 23, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
58
views
58
views
What is the use of “yield” keyword in Python?
asked
Jan 9
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
28
views
28
views
When a function is defined then the system stores parameters and local variables in an area of memory. What this memory is known as?
asked
Nov 26, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
0
votes
1
answer
11
views
11
views
What is the difference between del() and remove() methods of list?
asked
Nov 26, 2020
in
Technology
by
JackTerrance
(
191k
points)
python-programming-language-interview-questions
...