my_list = [1, 2, 3, 4]
print(my_list[1:3])
A. [2, 3]
B. [1, 2, 3]
C. [3, 4]
D. [1, 3, 4]
Option: A
|
my_list = [1, 2, 3, 4]
print(my_list[1:3])
A. [2, 3]
B. [1, 2, 3]
C. [3, 4]
D. [1, 3, 4]
Option: A
A. append()
B. insert()
C. add()
D. extend()
Option: A
A. list = (1, 2, 3)
B. list = [1, 2, 3]
C. list = {1, 2, 3}
D. list = <1, 2, 3>
Option: B
A. int
B. list
C. str
D. tuple
Option: B
print(2 ** 3)
A. 6
B. 9
C. 8
D. 16
Option: C
A. strlen()
B. length()
C. len()
D. count()
Option: C
A. import mathlib
B. import mathematics
C. import math
D. import MathModule
Option: C
A. True
B. False
C. None
D. value
Option: D
print(“Hello, World”[::-1])
A. dlroW ,olleH
B. Hello, World
C. d
D. Error
Option: A
A. // This is a comment
B. # This is a comment
C. /* This is a comment */
D. <!– This is a comment –>
Option: B
print(type(10))
A. <class ‘float’>
B. <class ‘int’>
C. <class ‘string’>
D. <class ‘complex’>
Option: B
A. 1_variable
B. _variable
C. variable!
D. variable-1
Option: B
A. int
B. float
C. complex
D. All of the mentioned above
Option: D
A. Web Development
B. Game Development
C. Artificial Intelligence and Machine Learning
D. All of the mentioned above
Option: D
A. Guido van Rossum
B. Denis Ritchie
C. Y.C. Khenderakar
D. None of the mentioned above
Option: A