How many namespaces are here in python?
Which parameter not used in open() function in file handling ?
What is the result of the following expression?
print(3 * (1 + 2) / 4 % 2)
Let a = 10 and b value is unknown. c = a^b
c = 8
Which of the following is the value of b?
(A+B)/(C-D)
you will categorize this expression as
What will be the output returned by the following code ?
num = [10, 20, 30, 40, 50, 60]
result = all([i > 15 for i in num])
print(result)
What will be the output returned by the following code ?
import numpy as np
array = np.array([1, 2, 3, 4, 5])
result = np.mean(array)
print(result)
What is the result of the following expression? x = True y = False z = False if x or y and z: print("True") else: print("False")
what is the output of the following?
l = [ '*' for i in range(5)] for i in range(5,1,-1): l.remove('*') print(*l, sep=" * ")
What is the output of the following code? def extendList(val, list=[]): list.append(val) return list list1 = extendList(10) list2 = extendList(123,[]) list3 = extendList('a') print("list1 = %s" % list1)