in Technology by

What is the output of len([1, 2, 3])?

1 Answer

0 votes
by

Answer is 

3.

Related questions

0 votes
    What will be the output of the following Python function? len(["hello",2, 4, 6]) a) Error b) 6 c) 4 d) 3...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
    Write the output of the following code: str2=list( ***@123* ) for l in range(len(str2)-1): if l==5: str2[i ... str2[i]='D' print(str2) Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i) a) 4 3 2 1 b) error c) 1 2 3 4 d) none of the mentioned...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
    What is the output of L[1:] if L = [1,2,3]?...
asked Nov 26, 2020 in Technology by JackTerrance
0 votes
    What is the output of L[2] if L = [1,2,3]?...
asked Nov 26, 2020 in Technology by JackTerrance
0 votes
    What is the output of for x in [1, 2, 3]: print x?...
asked Nov 26, 2020 in Technology by JackTerrance
0 votes
    What is the output of 3 in [1, 2, 3]?...
asked Nov 26, 2020 in Technology by JackTerrance
0 votes
    What is the output of [1, 2, 3] + [4, 5, 6]?...
asked Nov 26, 2020 in Technology by JackTerrance
0 votes
    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
0 votes
    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
0 votes
    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
0 votes
    What will be the output of the following Python function? min(max(False,-3,-4), 2,7) a) -4 b) -3 c) 2 d) False...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
    What is the output for the following function test(x) { while(x < 5) { x++; } return x; } alert(test(2)); A) 6 B) 3 C) 2 D) 5 #insurance and Loans...
asked Oct 9, 2020 in Technology by JackTerrance
0 votes
    1. Predict the output of the following operations if x=5 and y=3. x>=10&& y>=4 f. x>=1 || y>=4 Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
...